Struct vulkano::pipeline::shader::SpecializationMapEntry [] [src]

pub struct SpecializationMapEntry {
    pub constant_id: u32,
    pub offset: u32,
    pub size: usize,
}

Describes an indiviual constant to set in the shader. Also a field in the struct.

Fields

Identifier of the constant in the shader that corresponds to this field.

Offset within this struct for the data.

Size of the data in bytes.