Enum sierra::DescriptorSlice
source · pub enum DescriptorSlice<'a> {
Sampler(&'a [Sampler]),
CombinedImageSampler(&'a [CombinedImageSampler]),
SampledImage(&'a [(ImageView, Layout)]),
StorageImage(&'a [(ImageView, Layout)]),
UniformTexelBuffer(&'a [BufferView]),
StorageTexelBuffer(&'a [BufferView]),
UniformBuffer(&'a [BufferRange]),
StorageBuffer(&'a [BufferRange]),
UniformBufferDynamic(&'a [BufferRange]),
StorageBufferDynamic(&'a [BufferRange]),
InputAttachment(&'a [(ImageView, Layout)]),
AccelerationStructure(&'a [AccelerationStructure]),
}
Expand description
Collection of descriptors.
This type is used in [WriteDescriptorSet
] to specify descriptors
to write.
Variants§
Sampler(&'a [Sampler])
Samplers.
CombinedImageSampler(&'a [CombinedImageSampler])
Combined image and sampler descriptors.
SampledImage(&'a [(ImageView, Layout)])
Sampled image descriptors.
StorageImage(&'a [(ImageView, Layout)])
Storage image descriptors.
UniformTexelBuffer(&'a [BufferView])
Uniform texel buffer descriptors.
StorageTexelBuffer(&'a [BufferView])
Storage texel buffer descriptors.
UniformBuffer(&'a [BufferRange])
Uniform buffer regions.
StorageBuffer(&'a [BufferRange])
Storage buffer regions.
UniformBufferDynamic(&'a [BufferRange])
Dynamic uniform buffer regions.
StorageBufferDynamic(&'a [BufferRange])
Dynamic storage buffer regions.
InputAttachment(&'a [(ImageView, Layout)])
Input attachments.
AccelerationStructure(&'a [AccelerationStructure])
Acceleration structures.
Trait Implementations§
source§impl<'a> Clone for DescriptorSlice<'a>
impl<'a> Clone for DescriptorSlice<'a>
source§fn clone(&self) -> DescriptorSlice<'a>
fn clone(&self) -> DescriptorSlice<'a>
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<'a> Debug for DescriptorSlice<'a>
impl<'a> Debug for DescriptorSlice<'a>
source§impl<'a> Hash for DescriptorSlice<'a>
impl<'a> Hash for DescriptorSlice<'a>
source§impl<'a> PartialEq<DescriptorSlice<'a>> for DescriptorSlice<'a>
impl<'a> PartialEq<DescriptorSlice<'a>> for DescriptorSlice<'a>
source§fn eq(&self, other: &DescriptorSlice<'a>) -> bool
fn eq(&self, other: &DescriptorSlice<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.