Struct sierra::DescriptorSetLayoutBinding
source · 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§
source§impl Clone for DescriptorSetLayoutBinding
impl Clone for DescriptorSetLayoutBinding
source§fn clone(&self) -> DescriptorSetLayoutBinding
fn clone(&self) -> DescriptorSetLayoutBinding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescriptorSetLayoutBinding
impl Debug for DescriptorSetLayoutBinding
source§impl Hash for DescriptorSetLayoutBinding
impl Hash for DescriptorSetLayoutBinding
source§impl PartialEq<DescriptorSetLayoutBinding> for DescriptorSetLayoutBinding
impl PartialEq<DescriptorSetLayoutBinding> for DescriptorSetLayoutBinding
source§fn eq(&self, other: &DescriptorSetLayoutBinding) -> bool
fn eq(&self, other: &DescriptorSetLayoutBinding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.