[][src]Enum web_glitz::pipeline::interface_block::UnitLayout

pub enum UnitLayout {
    Float,
    FloatArray {
        stride: u8,
        len: usize,
    },
    FloatVector2,
    FloatVector2Array {
        stride: u8,
        len: usize,
    },
    FloatVector3,
    FloatVector3Array {
        stride: u8,
        len: usize,
    },
    FloatVector4,
    FloatVector4Array {
        stride: u8,
        len: usize,
    },
    Integer,
    IntegerArray {
        stride: u8,
        len: usize,
    },
    IntegerVector2,
    IntegerVector2Array {
        stride: u8,
        len: usize,
    },
    IntegerVector3,
    IntegerVector3Array {
        stride: u8,
        len: usize,
    },
    IntegerVector4,
    IntegerVector4Array {
        stride: u8,
        len: usize,
    },
    UnsignedInteger,
    UnsignedIntegerArray {
        stride: u8,
        len: usize,
    },
    UnsignedIntegerVector2,
    UnsignedIntegerVector2Array {
        stride: u8,
        len: usize,
    },
    UnsignedIntegerVector3,
    UnsignedIntegerVector3Array {
        stride: u8,
        len: usize,
    },
    UnsignedIntegerVector4,
    UnsignedIntegerVector4Array {
        stride: u8,
        len: usize,
    },
    Bool,
    BoolArray {
        stride: u8,
        len: usize,
    },
    BoolVector2,
    BoolVector2Array {
        stride: u8,
        len: usize,
    },
    BoolVector3,
    BoolVector3Array {
        stride: u8,
        len: usize,
    },
    BoolVector4,
    BoolVector4Array {
        stride: u8,
        len: usize,
    },
    Matrix2x2 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix2x2Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix2x3 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix2x3Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix2x4 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix2x4Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix3x2 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix3x2Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix3x3 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix3x3Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix3x4 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix3x4Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix4x2 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix4x2Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix4x3 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix4x3Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
    Matrix4x4 {
        order: MatrixOrder,
        matrix_stride: u8,
    },
    Matrix4x4Array {
        order: MatrixOrder,
        matrix_stride: u8,
        array_stride: u8,
        len: usize,
    },
}

Enumerates the kinds of memory unit layouts for memory units that can occur within an interface block.

Variants

Float
FloatArray

Fields of FloatArray

stride: u8len: usize
FloatVector2
FloatVector2Array

Fields of FloatVector2Array

stride: u8len: usize
FloatVector3
FloatVector3Array

Fields of FloatVector3Array

stride: u8len: usize
FloatVector4
FloatVector4Array

Fields of FloatVector4Array

stride: u8len: usize
Integer
IntegerArray

Fields of IntegerArray

stride: u8len: usize
IntegerVector2
IntegerVector2Array

Fields of IntegerVector2Array

stride: u8len: usize
IntegerVector3
IntegerVector3Array

Fields of IntegerVector3Array

stride: u8len: usize
IntegerVector4
IntegerVector4Array

Fields of IntegerVector4Array

stride: u8len: usize
UnsignedInteger
UnsignedIntegerArray

Fields of UnsignedIntegerArray

stride: u8len: usize
UnsignedIntegerVector2
UnsignedIntegerVector2Array

Fields of UnsignedIntegerVector2Array

stride: u8len: usize
UnsignedIntegerVector3
UnsignedIntegerVector3Array

Fields of UnsignedIntegerVector3Array

stride: u8len: usize
UnsignedIntegerVector4
UnsignedIntegerVector4Array

Fields of UnsignedIntegerVector4Array

stride: u8len: usize
Bool
BoolArray

Fields of BoolArray

stride: u8len: usize
BoolVector2
BoolVector2Array

Fields of BoolVector2Array

stride: u8len: usize
BoolVector3
BoolVector3Array

Fields of BoolVector3Array

stride: u8len: usize
BoolVector4
BoolVector4Array

Fields of BoolVector4Array

stride: u8len: usize
Matrix2x2

Fields of Matrix2x2

order: MatrixOrdermatrix_stride: u8
Matrix2x2Array

Fields of Matrix2x2Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix2x3

Fields of Matrix2x3

order: MatrixOrdermatrix_stride: u8
Matrix2x3Array

Fields of Matrix2x3Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix2x4

Fields of Matrix2x4

order: MatrixOrdermatrix_stride: u8
Matrix2x4Array

Fields of Matrix2x4Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix3x2

Fields of Matrix3x2

order: MatrixOrdermatrix_stride: u8
Matrix3x2Array

Fields of Matrix3x2Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix3x3

Fields of Matrix3x3

order: MatrixOrdermatrix_stride: u8
Matrix3x3Array

Fields of Matrix3x3Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix3x4

Fields of Matrix3x4

order: MatrixOrdermatrix_stride: u8
Matrix3x4Array

Fields of Matrix3x4Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix4x2

Fields of Matrix4x2

order: MatrixOrdermatrix_stride: u8
Matrix4x2Array

Fields of Matrix4x2Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix4x3

Fields of Matrix4x3

order: MatrixOrdermatrix_stride: u8
Matrix4x3Array

Fields of Matrix4x3Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize
Matrix4x4

Fields of Matrix4x4

order: MatrixOrdermatrix_stride: u8
Matrix4x4Array

Fields of Matrix4x4Array

order: MatrixOrdermatrix_stride: u8array_stride: u8len: usize

Trait Implementations

impl Clone for UnitLayout[src]

impl PartialEq<UnitLayout> for UnitLayout[src]

impl Debug for UnitLayout[src]

Auto Trait Implementations

Blanket Implementations

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]