Struct sierra::DescriptorSetLayoutBinding [−][src]
pub struct DescriptorSetLayoutBinding { pub binding: u32, pub ty: DescriptorType, pub count: u32, pub stages: ShaderStageFlags, pub flags: DescriptorBindingFlags, }
Expand description
Defines layout for one binding in descriptor set.
Fields
binding: u32
Binding index.
ty: DescriptorType
Type of descriptor in the binding.
count: u32
Number of descriptors in the binding.
stages: ShaderStageFlags
Shader stages where this binding is accessible.
flags: DescriptorBindingFlags
Flags to specify options for the descriptor set layout binding.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorSetLayoutBinding
impl Send for DescriptorSetLayoutBinding
impl Sync for DescriptorSetLayoutBinding
impl Unpin for DescriptorSetLayoutBinding
impl UnwindSafe for DescriptorSetLayoutBinding
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more