AsStd140

Trait AsStd140 

Source
pub trait AsStd140 {
    type Std140Type;

    // Required method
    fn as_std140(&self) -> Self::Std140Type;
}
Expand description

A type that can be converted to a std140 type.

Required Associated Types§

Source

type Std140Type

The std140 type that this type can be converted to.

Required Methods§

Source

fn as_std140(&self) -> Self::Std140Type

Convert this type to a std140 type.

Implementations on Foreign Types§

Source§

impl AsStd140 for ColumnMatrix2<f32>

Source§

impl AsStd140 for ColumnMatrix2x3<f32>

Source§

impl AsStd140 for ColumnMatrix2x4<f32>

Source§

impl AsStd140 for ColumnMatrix3<f32>

Source§

impl AsStd140 for ColumnMatrix3x2<f32>

Source§

impl AsStd140 for ColumnMatrix3x4<f32>

Source§

impl AsStd140 for ColumnMatrix4<f32>

Source§

impl AsStd140 for ColumnMatrix4x2<f32>

Source§

impl AsStd140 for ColumnMatrix4x3<f32>

Source§

impl AsStd140 for Vector2<f32>

Source§

impl AsStd140 for Vector2<i32>

Source§

impl AsStd140 for Vector2<u32>

Source§

impl AsStd140 for Vector3<f32>

Source§

impl AsStd140 for Vector3<i32>

Source§

impl AsStd140 for Vector3<u32>

Source§

impl AsStd140 for Vector4<f32>

Source§

impl AsStd140 for Vector4<i32>

Source§

impl AsStd140 for Vector4<u32>

Implementors§