Struct gfx::device::attrib::Format
[−]
[src]
pub struct Format { pub elem_count: Count, pub elem_type: Type, pub offset: Offset, pub stride: Stride, pub instance_rate: InstanceRate, }
Complete format of a vertex attribute.
Fields
elem_count | Number of elements per vertex |
elem_type | Type of a single element |
offset | Offset in bytes to the first vertex |
stride | Stride in bytes between consecutive vertices |
instance_rate | Instance rate per vertex |