vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
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, none of the pImageInfo, pBufferInfo, or pTexelBufferView members are accessed, instead the source data of the descriptor update operation is taken from the WriteDescriptorSetInlineUniformBlock 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. When updating descriptors with a descriptorType of DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV, none of the pImageInfo, pBufferInfo, or pTexelBufferView members are accessed, instead the source data of the descriptor update operation is taken from the WriteDescriptorSetAccelerationStructureNV structure in the pNext chain of WriteDescriptorSet.

See Also

VK_VERSION_1_0, DescriptorGetInfoEXT, DescriptorPoolSize, DescriptorSetLayoutBinding, DescriptorUpdateTemplateEntry, ImageViewHandleInfoNVX, MutableDescriptorTypeListEXT, WriteDescriptorSet

Constructors

DescriptorType Int32 

Instances

Instances details
Storable 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

Eq DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Ord DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType

Zero DescriptorType Source # 
Instance details

Defined in Vulkan.Core10.Enums.DescriptorType