Struct sierra::DescriptorSetLayout
source · pub struct DescriptorSetLayout { /* private fields */ }
Expand description
Handle for GPU descriptor set layout object.
Describes descriptor bindings and their types.
Used for PipelineLayout
creation and DescriptorSet
allocation.
Descriptor set bound at index N must be allocated with same
descriptor set layout that was specified at index N for bound PipelineLayout
.
Implementations§
source§impl DescriptorSetLayout
impl DescriptorSetLayout
pub fn info(&self) -> &DescriptorSetLayoutInfo
Trait Implementations§
source§impl Clone for DescriptorSetLayout
impl Clone for DescriptorSetLayout
source§fn clone(&self) -> DescriptorSetLayout
fn clone(&self) -> DescriptorSetLayout
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 more