Struct vulkano::descriptor::descriptor::DescriptorImageDesc [] [src]

pub struct DescriptorImageDesc {
    pub sampled: bool,
    pub dimensions: DescriptorImageDescDimensions,
    pub format: Option<Format>,
    pub multisampled: bool,
    pub array_layers: DescriptorImageDescArray,
}

Additional description for descriptors that contain images.

Fields

If true, the image can be sampled by the shader. Only images that were created with the sampled usage can be attached to the descriptor.

The kind of image: one-dimensional, two-dimensional, three-dimensional, or cube.

The format of the image, or None if the format is unknown. If Some, only images with exactly that format can be attached.

True if the image is multisampled.

Whether the descriptor contains one or more array layers of an image.

Methods

impl DescriptorImageDesc
[src]

[src]

Checks whether we are a superset of another image.

Trait Implementations

impl Debug for DescriptorImageDesc
[src]

[src]

Formats the value using the given formatter.

impl Copy for DescriptorImageDesc
[src]

impl Clone for DescriptorImageDesc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DescriptorImageDesc
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for DescriptorImageDesc
[src]