Enum amethyst_renderer::TexCoord
[−]
[src]
pub enum TexCoord {}
Type for texture coord attribute of vertex
Trait Implementations
impl Clone for TexCoord
[src]
fn clone(&self) -> TexCoord
[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 TexCoord
[src]
impl Attribute for TexCoord
[src]
const NAME: &'static str
NAME: &'static str = "tex_coord"
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, ChannelType::Float)
Format of the attribute defines arity and type
const SIZE: u32
SIZE: u32 = 8
Size of the attribue
type Repr = [f32; 2]
Representation of the attribute usually it is [f32; N]
Read more