vulkan-3.5: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Core10.Enums.DescriptorType

Synopsis

Documentation

newtype DescriptorType Source #

VkDescriptorType - Specifies the type of a descriptor in a descriptor set

Description

When a descriptor set is updated via elements of WriteDescriptorSet, members of pImageInfo, pBufferInfo and pTexelBufferView are only accessed by the implementation when they correspond to descriptor type being defined - otherwise they are ignored. The members accessed are as follows for each descriptor type:

When updating descriptors with a descriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT, none of the pImageInfo, pBufferInfo, or pTexelBufferView members are accessed, instead the source data of the descriptor update operation is taken from the WriteDescriptorSetInlineUniformBlockEXT structure in the pNext chain of WriteDescriptorSet. When updating descriptors with a descriptorType of DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, none of the pImageInfo, pBufferInfo, or pTexelBufferView members are accessed, instead the source data of the descriptor update operation is taken from the WriteDescriptorSetAccelerationStructureKHR structure in the pNext chain of WriteDescriptorSet.

See Also

DescriptorPoolSize, DescriptorSetLayoutBinding, DescriptorUpdateTemplateEntry, ImageViewHandleInfoNVX, WriteDescriptorSet

Constructors

DescriptorType Int32 

Instances

Instances details
Eq DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Ord DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Read DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Show DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Storable DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Zero DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType