Struct gfx::render::mesh::Attribute
[−]
[src]
pub struct Attribute<R: Resources> {
pub name: String,
pub buffer: RawBuffer<R>,
pub format: Format,
}Describes a single attribute of a vertex buffer, including its type, name, etc.
Fields
name | A name to match the shader input |
buffer | Vertex buffer to contain the data |
format | Format of the attribute |