Struct vulkano::descriptor::descriptor::DescriptorDesc [] [src]

pub struct DescriptorDesc {
    pub binding: u32,
    pub ty: DescriptorDescTy,
    pub array_count: u32,
    pub stages: ShaderStages,
    pub readonly: bool,
}

Describes a single descriptor.

Fields

Offset of the binding within the descriptor.

Describes the content and layout of each array element of a descriptor.

How many array elements this descriptor is made of.

Which shader stages are going to access this descriptor.

True if the attachment is only ever read by the shader. False if it is also written.

Methods

impl DescriptorDesc
[src]

Checks whether we are a superset of another descriptor.

This means that either the descriptor is the same, or it is the same but with a larger array elements count, or it is the same with more shader stages.

Trait Implementations

impl Debug for DescriptorDesc
[src]

Formats the value using the given formatter.

impl Copy for DescriptorDesc
[src]

impl Clone for DescriptorDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more