Struct gfx::device::shade::Attribute
[−]
[src]
pub struct Attribute { pub name: String, pub location: usize, pub count: usize, pub base_type: BaseType, pub container: ContainerType, }
Vertex information that a shader takes as input.
Fields
name | Name of this attribute. |
location | Vertex attribute binding. |
count | Number of elements this attribute represents. |
base_type | Type that this attribute is composed of. |
container | "Scalarness" of this attribute. |