[][src]Module vulkano::descriptor::descriptor

Description of a single descriptor.

This module contains traits and structs related to describing a single descriptor. A descriptor is a slot where you can bind a buffer or an image so that it can be accessed from your shaders. In order to specify which buffer or image to bind to a descriptor, see the descriptor_set module.

There are four different kinds of descriptors that give access to buffers:

There are five different kinds of descriptors related to images:

Structs

DescriptorBufferDesc
DescriptorDesc

Contains the exact description of a single descriptor.

DescriptorImageDesc

Additional description for descriptors that contain images.

ShaderStages

Describes which shader stages have access to a descriptor.

Enums

DescriptorDescSupersetError

Error when checking whether a descriptor is a superset of another one.

DescriptorDescTy

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

DescriptorImageDescArray
DescriptorImageDescDimensions
DescriptorType

Describes what kind of resource may later be bound to a descriptor.

ShaderStagesSupersetError

Error when checking whether some shader stages are superset of others.