Enum amethyst_renderer::Normal[][src]

pub enum Normal {}

Type for texture coord attribute of vertex

Trait Implementations

impl Clone for Normal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Normal
[src]

Formats the value using the given formatter. Read more

impl Attribute for Normal
[src]

NAME: &'static str = "normal"

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

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

Format of the attribute defines arity and type

SIZE: u32 = 12

Size of the attribue

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

impl With<Normal> for PosNormTex
[src]

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

Individual format of the attribute for this vertex format

impl With<Normal> for PosNormTangTex
[src]

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

Individual format of the attribute for this vertex format

Auto Trait Implementations

impl Send for Normal

impl Sync for Normal