Trait amethyst_renderer::vertex::WithField
[−]
pub trait WithField<F>: VertexFormat { fn field_attribute() -> Attribute; }
Trait implemented by all valid vertex formats for each field
Required Methods
fn field_attribute() -> Attribute
Query individual attribute of the field for this format
Implementors
impl WithField<Position> for PosColor
impl WithField<Color> for PosColor
impl WithField<Position> for PosTex
impl WithField<TextureCoord> for PosTex
impl WithField<Position> for PosNormTex
impl WithField<Normal> for PosNormTex
impl WithField<TextureCoord> for PosNormTex
impl WithField<Position> for PosNormTangTex
impl WithField<Normal> for PosNormTangTex
impl WithField<Tangent> for PosNormTangTex
impl WithField<TextureCoord> for PosNormTangTex