Struct gfx_core::shade::AttributeVar [] [src]

pub struct AttributeVar {
    pub name: String,
    pub slot: AttributeSlot,
    pub base_type: BaseType,
    pub container: ContainerType,
}

Vertex information that a shader takes as input.

Fields

name

Name of this attribute.

slot

Slot of the vertex attribute.

base_type

Type that this attribute is composed of.

container

"Scalarness" of this attribute.

Trait Implementations

Derived Implementations

impl Debug for AttributeVar

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for AttributeVar

fn eq(&self, __arg_0: &AttributeVar) -> bool

fn ne(&self, __arg_0: &AttributeVar) -> bool

impl Clone for AttributeVar

fn clone(&self) -> AttributeVar

1.0.0fn clone_from(&mut self, source: &Self)