Enum amethyst_renderer::TexCoord[][src]

pub enum TexCoord {}

Type for texture coord attribute of vertex

Trait Implementations

impl Clone for TexCoord
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TexCoord
[src]

Formats the value using the given formatter. Read more

impl Attribute for TexCoord
[src]

NAME: &'static str = "tex_coord"

Name of the attribute It is used to bind to the attributes in shaders Read more

FORMAT: Format = Format(SurfaceType::R32_G32, ChannelType::Float)

Format of the attribute defines arity and type

SIZE: u32 = 8

Size of the attribue

Representation of the attribute usually it is [f32; N] Read more

impl With<TexCoord> for PosTex
[src]

FORMAT: AttributeFormat = Element{offset: <Position>::SIZE, format: <TexCoord>::FORMAT,}

Individual format of the attribute for this vertex format

impl With<TexCoord> for PosNormTex
[src]

FORMAT: AttributeFormat = Element{offset: <Position>::SIZE + <Normal>::SIZE,
        format: <TexCoord>::FORMAT,}

Individual format of the attribute for this vertex format

impl With<TexCoord> for PosNormTangTex
[src]

FORMAT: AttributeFormat = Element{offset: <Position>::SIZE + <Normal>::SIZE + <Tangent>::SIZE,
        format: <TexCoord>::FORMAT,}

Individual format of the attribute for this vertex format

Auto Trait Implementations

impl Send for TexCoord

impl Sync for TexCoord