| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Core10.Enums.DescriptorType
Synopsis
- newtype DescriptorType where
- DescriptorType Int32
- pattern DESCRIPTOR_TYPE_SAMPLER :: DescriptorType
- pattern DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER :: DescriptorType
- pattern DESCRIPTOR_TYPE_SAMPLED_IMAGE :: DescriptorType
- pattern DESCRIPTOR_TYPE_STORAGE_IMAGE :: DescriptorType
- pattern DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER :: DescriptorType
- pattern DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER :: DescriptorType
- pattern DESCRIPTOR_TYPE_UNIFORM_BUFFER :: DescriptorType
- pattern DESCRIPTOR_TYPE_STORAGE_BUFFER :: DescriptorType
- pattern DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC :: DescriptorType
- pattern DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC :: DescriptorType
- pattern DESCRIPTOR_TYPE_INPUT_ATTACHMENT :: DescriptorType
- pattern DESCRIPTOR_TYPE_MUTABLE_VALVE :: DescriptorType
- pattern DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV :: DescriptorType
- pattern DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR :: DescriptorType
- pattern DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT :: DescriptorType
Documentation
newtype DescriptorType Source #
VkDescriptorType - Specifies the type of a descriptor in a descriptor set
Description
DESCRIPTOR_TYPE_SAMPLERspecifies a sampler descriptor.
DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERspecifies a combined image sampler descriptor.DESCRIPTOR_TYPE_SAMPLED_IMAGEspecifies a sampled image descriptor.DESCRIPTOR_TYPE_STORAGE_IMAGEspecifies a storage image descriptor.DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERspecifies a uniform texel buffer descriptor.DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERspecifies a storage texel buffer descriptor.DESCRIPTOR_TYPE_UNIFORM_BUFFERspecifies a uniform buffer descriptor.DESCRIPTOR_TYPE_STORAGE_BUFFERspecifies a storage buffer descriptor.DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMICspecifies a dynamic uniform buffer descriptor.DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICspecifies a dynamic storage buffer descriptor.DESCRIPTOR_TYPE_INPUT_ATTACHMENTspecifies an input attachment descriptor.DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXTspecifies an inline uniform block.DESCRIPTOR_TYPE_MUTABLE_VALVEspecifies a descriptor of mutable type.
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:
- For
DESCRIPTOR_TYPE_SAMPLER, only thesamplermember of each element ofWriteDescriptorSet::pImageInfois accessed. - For
DESCRIPTOR_TYPE_SAMPLED_IMAGE,DESCRIPTOR_TYPE_STORAGE_IMAGE, orDESCRIPTOR_TYPE_INPUT_ATTACHMENT, only theimageViewandimageLayoutmembers of each element ofWriteDescriptorSet::pImageInfoare accessed. - For
DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, all members of each element ofWriteDescriptorSet::pImageInfoare accessed. - For
DESCRIPTOR_TYPE_UNIFORM_BUFFER,DESCRIPTOR_TYPE_STORAGE_BUFFER,DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, orDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, all members of each element ofWriteDescriptorSet::pBufferInfoare accessed. - For
DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERorDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, each element ofWriteDescriptorSet::pTexelBufferViewis accessed.
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. 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
DescriptorPoolSize,
DescriptorSetLayoutBinding,
DescriptorUpdateTemplateEntry,
ImageViewHandleInfoNVX,
MutableDescriptorTypeListVALVE,
WriteDescriptorSet
Constructors
| DescriptorType Int32 |
Bundled Patterns
| pattern DESCRIPTOR_TYPE_SAMPLER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_SAMPLED_IMAGE :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_STORAGE_IMAGE :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_UNIFORM_BUFFER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_STORAGE_BUFFER :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_INPUT_ATTACHMENT :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_MUTABLE_VALVE :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR :: DescriptorType | |
| pattern DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT :: DescriptorType |