[][src]Trait web_glitz::pipeline::graphics::TransformFeedbackAttribute

pub unsafe trait TransformFeedbackAttribute {
    const TYPE: TransformFeedbackAttributeType;
    const SIZE: usize;
}

Trait implemented by types that can be used as fields in structs that derive TransformFeedback.

Unsafe

May only be implemented for a type if it is bitwise compatible with an array of GLSL type [TYPE] with a length of [SIZE].

Associated Constants

const TYPE: TransformFeedbackAttributeType

The transform feedback attribute type associated with this type.

const SIZE: usize

The array size (length) associated with this type.

Should always be 1 for non-array types.

Loading content...

Implementations on Foreign Types

impl TransformFeedbackAttribute for f32[src]

impl TransformFeedbackAttribute for [f32; 2][src]

impl TransformFeedbackAttribute for [f32; 3][src]

impl TransformFeedbackAttribute for [f32; 4][src]

impl TransformFeedbackAttribute for [[f32; 2]; 2][src]

impl TransformFeedbackAttribute for [[f32; 3]; 2][src]

impl TransformFeedbackAttribute for [[f32; 4]; 2][src]

impl TransformFeedbackAttribute for [[f32; 2]; 3][src]

impl TransformFeedbackAttribute for [[f32; 3]; 3][src]

impl TransformFeedbackAttribute for [[f32; 4]; 3][src]

impl TransformFeedbackAttribute for [[f32; 2]; 4][src]

impl TransformFeedbackAttribute for [[f32; 3]; 4][src]

impl TransformFeedbackAttribute for [[f32; 4]; 4][src]

impl TransformFeedbackAttribute for i32[src]

impl TransformFeedbackAttribute for [i32; 2][src]

impl TransformFeedbackAttribute for [i32; 3][src]

impl TransformFeedbackAttribute for [i32; 4][src]

impl TransformFeedbackAttribute for u32[src]

impl TransformFeedbackAttribute for [u32; 2][src]

impl TransformFeedbackAttribute for [u32; 3][src]

impl TransformFeedbackAttribute for [u32; 4][src]

Loading content...

Implementors

Loading content...