Enum amethyst_renderer::Tangent
[−]
[src]
pub enum Tangent {}
Type for tangent attribute of vertex
Trait Implementations
impl Clone for Tangent
[src]
fn clone(&self) -> Tangent
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Tangent
[src]
impl Attribute for Tangent
[src]
const NAME: &'static str
NAME: &'static str = "tangent"
Name of the attribute It is used to bind to the attributes in shaders Read more
const FORMAT: Format
FORMAT: Format = Format(SurfaceType::R32_G32_B32, ChannelType::Float)
Format of the attribute defines arity and type
const SIZE: u32
SIZE: u32 = 12
Size of the attribue
type Repr = [f32; 3]
Representation of the attribute usually it is [f32; N]
Read more