Enum amethyst_renderer::Normal [−][src]
pub enum Normal {}Type for texture coord attribute of vertex
Trait Implementations
impl Clone for Normal[src]
impl Clone for Normalfn clone(&self) -> Normal[src]
fn clone(&self) -> NormalReturns 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 Normal[src]
impl Debug for Normalfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Attribute for Normal[src]
impl Attribute for Normalconst NAME: &'static str
NAME: &'static str = "normal"
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<Normal> for PosNormTex[src]
impl With<Normal> for PosNormTexconst FORMAT: AttributeFormat
FORMAT: AttributeFormat = Element{offset: <Position>::SIZE, format: <Normal>::FORMAT,}
Individual format of the attribute for this vertex format
impl With<Normal> for PosNormTangTex[src]
impl With<Normal> for PosNormTangTexconst FORMAT: AttributeFormat
FORMAT: AttributeFormat = Element{offset: <Position>::SIZE, format: <Normal>::FORMAT,}
Individual format of the attribute for this vertex format