Struct vulkano::pipeline::graphics::vertex_input::VertexInputAttributeDescription [−][src]
pub struct VertexInputAttributeDescription {
pub binding: u32,
pub format: Format,
pub offset: u32,
}
Expand description
Describes a single vertex buffer attribute mapping.
Fields
binding: u32
The vertex buffer binding number that this attribute should take its data from.
format: Format
The size and type of the vertex data.
offset: u32
Number of bytes between the start of a vertex buffer element and the location of attribute.
Trait Implementations
Auto Trait Implementations
impl Send for VertexInputAttributeDescription
impl Sync for VertexInputAttributeDescription
impl Unpin for VertexInputAttributeDescription
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.