Enum vulkano::descriptor::descriptor::DescriptorDescTy
[−]
[src]
pub enum DescriptorDescTy { Sampler, CombinedImageSampler(DescriptorImageDesc), Image(DescriptorImageDesc), TexelBuffer { storage: bool, format: Option<Format>, }, InputAttachment { multisampled: bool, array_layers: DescriptorImageDescArray, }, Buffer(DescriptorBufferDesc), }
Describes the content and layout of each array element of a descriptor.
Variants
Sampler
CombinedImageSampler(DescriptorImageDesc)
Image(DescriptorImageDesc)
TexelBuffer
Fields of TexelBuffer
storage: bool | If |
format: Option<Format> | The format of the content, or |
InputAttachment
Fields of InputAttachment
multisampled: bool | If |
array_layers: DescriptorImageDescArray |
Buffer(DescriptorBufferDesc)
Methods
impl DescriptorDescTy
[src]
fn ty(&self) -> Option<DescriptorType>
Returns the type of descriptor.
Returns None
if there's not enough info to determine the type.
fn is_superset_of(&self, other: &DescriptorDescTy) -> bool
Checks whether we are a superset of another descriptor type.
Trait Implementations
impl Debug for DescriptorDescTy
[src]
impl Clone for DescriptorDescTy
[src]
fn clone(&self) -> DescriptorDescTy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DescriptorDescTy
[src]
fn eq(&self, __arg_0: &DescriptorDescTy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DescriptorDescTy) -> bool
This method tests for !=
.