[][src]Trait rendy::mesh::AsAttribute

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

Trait for vertex attributes to implement

Associated Constants

const NAME: &'static str

Name 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...