Enum sierra::Descriptors[][src]

pub enum Descriptors<'a> {
    Sampler(&'a [Sampler]),
    CombinedImageSampler(&'a [CombinedImageSampler]),
    SampledImage(&'a [ImageViewDescriptor]),
    StorageImage(&'a [ImageViewDescriptor]),
    UniformBuffer(&'a [BufferRange]),
    StorageBuffer(&'a [BufferRange]),
    UniformBufferDynamic(&'a [BufferRange]),
    StorageBufferDynamic(&'a [BufferRange]),
    InputAttachment(&'a [ImageViewDescriptor]),
    AccelerationStructure(&'a [AccelerationStructure]),
}
Expand description

Collection of descriptors.
This type is used in WriteDescriptorSet to specify descriptors to write.

Variants

Sampler

Samplers.

Tuple Fields of Sampler

0: &'a [Sampler]
CombinedImageSampler

Combined image and sampler descriptors.

Tuple Fields of CombinedImageSampler

0: &'a [CombinedImageSampler]
SampledImage

Sampled image descriptors.

Tuple Fields of SampledImage

0: &'a [ImageViewDescriptor]
StorageImage

Storage image descriptors.

Tuple Fields of StorageImage

0: &'a [ImageViewDescriptor]
UniformBuffer

Uniform buffer regions.

Tuple Fields of UniformBuffer

0: &'a [BufferRange]
StorageBuffer

Storage buffer regions.

Tuple Fields of StorageBuffer

0: &'a [BufferRange]
UniformBufferDynamic

Dynamic uniform buffer regions.

Tuple Fields of UniformBufferDynamic

0: &'a [BufferRange]
StorageBufferDynamic

Dynamic storage buffer regions.

Tuple Fields of StorageBufferDynamic

0: &'a [BufferRange]
InputAttachment

Input attachments.

Tuple Fields of InputAttachment

0: &'a [ImageViewDescriptor]
AccelerationStructure

Acceleration structures.

Tuple Fields of AccelerationStructure

0: &'a [AccelerationStructure]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.