Enum amethyst_renderer::Tangent[][src]

pub enum Tangent {}

Type for tangent attribute of vertex

Trait Implementations

impl Clone for Tangent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Tangent
[src]

Formats the value using the given formatter. Read more

impl Attribute for Tangent
[src]

NAME: &'static str = "tangent"

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<Tangent> for PosNormTangTex
[src]

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

Individual format of the attribute for this vertex format

Auto Trait Implementations

impl Send for Tangent

impl Sync for Tangent