[][src]Trait rendy_mesh::AsAttribute

pub trait AsAttribute: 'static + PartialEq<Self> + PartialOrd<Self> + Send + Copy + Sync + 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.

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][+]