Enum vulkano::descriptor_set::layout::DescriptorDescTy [−][src]
pub enum DescriptorDescTy {
Sampler {
immutable_samplers: Vec<Arc<Sampler>>,
},
CombinedImageSampler {
image_desc: DescriptorDescImage,
immutable_samplers: Vec<Arc<Sampler>>,
},
SampledImage {
image_desc: DescriptorDescImage,
},
StorageImage {
image_desc: DescriptorDescImage,
},
UniformTexelBuffer {
format: Option<Format>,
},
StorageTexelBuffer {
format: Option<Format>,
},
UniformBuffer,
StorageBuffer,
UniformBufferDynamic,
StorageBufferDynamic,
InputAttachment {
multisampled: bool,
},
}
Expand description
Describes the content and layout of each array element of a descriptor.
Variants
Fields of Sampler
Fields of CombinedImageSampler
image_desc: DescriptorDescImage
immutable_samplers: Vec<Arc<Sampler>>
Samplers that are included as a fixed part of the descriptor set layout. Once bound, they do not need to be provided when creating a descriptor set.
The list must be either empty, or contain exactly descriptor_count
samplers.
Fields of SampledImage
image_desc: DescriptorDescImage
Fields of StorageImage
image_desc: DescriptorDescImage
Fields of UniformTexelBuffer
Fields of StorageTexelBuffer
Fields of InputAttachment
multisampled: bool
If true
, the input attachment is multisampled. Only multisampled images can be
attached to this descriptor. If false
, only single-sampled images can be attached.
Implementations
Returns the type of descriptor.
Checks whether we are a superset of another descriptor type.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorDescTy
impl Send for DescriptorDescTy
impl Sync for DescriptorDescTy
impl Unpin for DescriptorDescTy
impl UnwindSafe for DescriptorDescTy
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.