Enum sierra::DescriptorType[][src]

pub enum DescriptorType {
    Sampler,
    CombinedImageSampler,
    SampledImage,
    StorageImage,
    UniformBuffer,
    StorageBuffer,
    UniformBufferDynamic,
    StorageBufferDynamic,
    InputAttachment,
    AccelerationStructure,
}

Types of descriptors.

Variants

Sampler

Sampler descriptor.
Contains [Sampler] instances.

CombinedImageSampler

Combined image and sampler.
Contains both [ImageView] and [Sampler] instances.

SampledImage

Image that can be sampled. Contains [ImageView] instance.

StorageImage

Image that can be used as storage. Allows accessing individual pixels. Unlike [SampledImage] [StorageImage] can be overwritten by shader.

UniformBuffer

Buffer with shader uniform data.

StorageBuffer

Buffer that can be used as storage. Unlike [UniformBuffer] [StorageBuffer] can be overwritten by shader.

UniformBufferDynamic

Same as [UniformBuffer] but allows specifying offset each time set is bound to encoder.

StorageBufferDynamic

Same as [StorageBuffer] but allows specifying offset each time set is bound to encoder.

InputAttachment

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.

AccelerationStructure

Acceleration structure for ray-tracing shaders and ray queries.

Trait Implementations

impl Clone for DescriptorType[src]

impl Copy for DescriptorType[src]

impl Debug for DescriptorType[src]

impl Eq for DescriptorType[src]

impl Hash for DescriptorType[src]

impl PartialEq<DescriptorType> for DescriptorType[src]

impl StructuralEq for DescriptorType[src]

impl StructuralPartialEq for DescriptorType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.