Enum sierra::DescriptorType [−][src]
pub enum DescriptorType { Sampler, CombinedImageSampler, SampledImage, StorageImage, UniformBuffer, StorageBuffer, UniformBufferDynamic, StorageBufferDynamic, InputAttachment, AccelerationStructure, }
Expand description
Types of descriptors.
Variants
Sampler descriptor.
Contains [Sampler
] instances.
Combined image and sampler.
Contains both [ImageView
] and [Sampler
] instances.
Image that can be sampled.
Contains [ImageView
] instance.
Image that can be used as storage.
Allows accessing individual pixels.
Unlike [SampledImage
] [StorageImage
] can be overwritten by shader.
Buffer with shader uniform data.
Buffer that can be used as storage.
Unlike [UniformBuffer
] [StorageBuffer
] can be overwritten by shader.
Same as [UniformBuffer
] but allows specifying offset each time set is bound to encoder.
Same as [StorageBuffer
] but allows specifying offset each time set is bound to encoder.
Input attachment descriptor is an image with restricted access. Only fragment shader can read from input attachment. And only to the fragment’s location. Must correspond to input attachment configured in render-pass.
Acceleration structure for ray-tracing shaders and ray queries.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
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