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

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.

Fields

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 Copy for DescriptorDescTy
[src]

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]