Enum amethyst_renderer::Tangent [−][src]
pub enum Tangent {}
Type for tangent attribute of vertex
Trait Implementations
impl Clone for Tangent
[src]
impl Clone for Tangent
fn clone(&self) -> Tangent
[src]
fn clone(&self) -> Tangent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Tangent
[src]
impl Debug for Tangent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Attribute for Tangent
[src]
impl Attribute for Tangent
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
impl With<Tangent> for PosNormTangTex
[src]
impl With<Tangent> for PosNormTangTex
const FORMAT: AttributeFormat
FORMAT: AttributeFormat = Element{offset: <Position>::SIZE + <Normal>::SIZE, format: <Tangent>::FORMAT,}
Individual format of the attribute for this vertex format