[][src]Trait rendy_util::types::vertex::AsAttribute

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