[][src]Trait rendy_mesh::AsAttribute

pub trait AsAttribute: Debug + PartialEq + PartialOrd + Copy + Send + Sync + 'static {
    const NAME: &'static str;
    const SIZE: u32;
    const FORMAT: Format;
}

Trait for vertex attributes to implement

Associated Constants

const NAME: &'static str

Name of the attribute

const SIZE: u32

Size of the attribute.

const FORMAT: Format

Attribute format.

Loading content...

Implementors

impl AsAttribute for Color[src]

impl AsAttribute for Normal[src]

impl AsAttribute for Position[src]

impl AsAttribute for Tangent[src]

impl AsAttribute for TexCoord[src]

Loading content...