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

Fields of TexelBuffer

If true, this describes a storage texel buffer.

The format of the content, or None if the format is unknown. Depending on the context, it may be invalid to have a None value here. If the format is Some, only buffer views that have this exact format can be attached to this descriptor.

Fields of InputAttachment

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.

Methods

impl DescriptorDescTy
[src]

Returns the type of descriptor.

Returns None if there's not enough info to determine the type.

Checks whether we are a superset of another descriptor type.

Trait Implementations

impl Debug for DescriptorDescTy
[src]

Formats the value using the given formatter.

impl Clone for DescriptorDescTy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DescriptorDescTy
[src]

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

This method tests for !=.

impl Eq for DescriptorDescTy
[src]