Enum
VkVertexInputRate
Specify rate at which vertex attributes are pulled from buffers
Possible values of VkVertexInputBindingDescription::inputRate,
specifying the rate at which vertex attributes are pulled from buffers, are:
typedef enum VkVertexInputRate {
VK_VERTEX_INPUT_RATE_VERTEX = 0,
VK_VERTEX_INPUT_RATE_INSTANCE = 1,
} VkVertexInputRate;
pub struct VertexInputRate(u32);
impl VertexInputRate {
pub const VERTEX: Self = 0;
pub const INSTANCE: Self = 1;
}
VK_VERTEX_INPUT_RATE_VERTEXspecifies that vertex attribute addressing is a function of the vertex index.VK_VERTEX_INPUT_RATE_INSTANCEspecifies that vertex attribute addressing is a function of the instance index.
Parent
VK_VERSION_1_0Type
Enum