Trait mint_std140::AsStd140[][src]

pub trait AsStd140 {
    type Std140Type;
    fn as_std140(&self) -> Self::Std140Type;
}

A type that can be converted to a std140 type.

Associated Types

type Std140Type[src]

The std140 type that this type can be converted to.

Loading content...

Required methods

fn as_std140(&self) -> Self::Std140Type[src]

Convert this type to a std140 type.

Loading content...

Implementations on Foreign Types

impl AsStd140 for Vector2<f32>[src]

type Std140Type = vec2

impl AsStd140 for Vector3<f32>[src]

type Std140Type = vec3

impl AsStd140 for Vector4<f32>[src]

type Std140Type = vec4

impl AsStd140 for Vector2<i32>[src]

type Std140Type = ivec2

impl AsStd140 for Vector3<i32>[src]

type Std140Type = ivec3

impl AsStd140 for Vector4<i32>[src]

type Std140Type = ivec4

impl AsStd140 for Vector2<u32>[src]

type Std140Type = uvec2

impl AsStd140 for Vector3<u32>[src]

type Std140Type = uvec3

impl AsStd140 for Vector4<u32>[src]

type Std140Type = uvec4

impl AsStd140 for ColumnMatrix2<f32>[src]

type Std140Type = mat2x2

impl AsStd140 for ColumnMatrix3x2<f32>[src]

type Std140Type = mat2x3

impl AsStd140 for ColumnMatrix4x2<f32>[src]

type Std140Type = mat2x4

impl AsStd140 for ColumnMatrix2x3<f32>[src]

type Std140Type = mat3x2

impl AsStd140 for ColumnMatrix3<f32>[src]

type Std140Type = mat3x3

impl AsStd140 for ColumnMatrix4x3<f32>[src]

type Std140Type = mat3x4

impl AsStd140 for ColumnMatrix2x4<f32>[src]

type Std140Type = mat4x2

impl AsStd140 for ColumnMatrix3x4<f32>[src]

type Std140Type = mat4x3

impl AsStd140 for ColumnMatrix4<f32>[src]

type Std140Type = mat4x4

Loading content...

Implementors

Loading content...