Struct spirv_layout::UniformVariable
source · [−]pub struct UniformVariable {
pub set: u32,
pub binding: u32,
pub type_id: u32,
pub name: Option<String>,
}
Expand description
Describes a uniform variable declared in a SPIRV module
Fields
set: u32
Which DescriptorSet the variable is contained in (if known)
binding: u32
Which DescriptorSet binding the variable is contained in (if known)
type_id: u32
The type id of the variable’s Type
name: Option<String>
The variables name (if known)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UniformVariable
impl Send for UniformVariable
impl Sync for UniformVariable
impl Unpin for UniformVariable
impl UnwindSafe for UniformVariable
Blanket Implementations
Mutably borrows from an owned value. Read more