A descriptor binding with type DESCRIPTOR_TYPE_MUTABLE_VALVE has a descriptor size which is implied by the descriptor types included in the VkMutableDescriptorTypeCreateInfoVALVE::pDescriptorTypes list. The descriptor size is equal to the maximum size of any descriptor type included in the pDescriptorTypes list.
As there is no way to request robust and non-robust descriptors separately, or specify robust/non-robust descriptors in the set layout, if robustBufferAccess is enabled then robust descriptors are always used.
If the VkPhysicalDeviceDescriptorBufferPropertiesEXT structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
struct VkPhysicalDeviceDescriptorBufferPropertiesEXT {
VkStructureType sType;
void * pNext;
VkBool32 combinedImageSamplerDescriptorSingleArray;
VkBool32 bufferlessPushDescriptors;
VkBool32 allowSamplerImageViewPostSubmitCreation;
VkDeviceSize descriptorBufferOffsetAlignment;
uint32_t maxDescriptorBufferBindings;
uint32_t maxResourceDescriptorBufferBindings;
uint32_t maxSamplerDescriptorBufferBindings;
uint32_t maxEmbeddedImmutableSamplerBindings;
uint32_t maxEmbeddedImmutableSamplers;
size_t bufferCaptureReplayDescriptorDataSize;
size_t imageCaptureReplayDescriptorDataSize;
size_t imageViewCaptureReplayDescriptorDataSize;
size_t samplerCaptureReplayDescriptorDataSize;
size_t accelerationStructureCaptureReplayDescriptorDataSize;
size_t samplerDescriptorSize;
size_t combinedImageSamplerDescriptorSize;
size_t sampledImageDescriptorSize;
size_t storageImageDescriptorSize;
size_t uniformTexelBufferDescriptorSize;
size_t robustUniformTexelBufferDescriptorSize;
size_t storageTexelBufferDescriptorSize;
size_t robustStorageTexelBufferDescriptorSize;
size_t uniformBufferDescriptorSize;
size_t robustUniformBufferDescriptorSize;
size_t storageBufferDescriptorSize;
size_t robustStorageBufferDescriptorSize;
size_t inputAttachmentDescriptorSize;
size_t accelerationStructureDescriptorSize;
VkDeviceSize maxSamplerDescriptorBufferRange;
VkDeviceSize maxResourceDescriptorBufferRange;
VkDeviceSize samplerDescriptorBufferAddressSpaceSize;
VkDeviceSize resourceDescriptorBufferAddressSpaceSize;
VkDeviceSize descriptorBufferAddressSpaceSize;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCELERATIONSTRUCTURECAPTUREREPLAYDESCRIPTORDATASIZE
The struct member offsets. |
| public static final int | ACCELERATIONSTRUCTUREDESCRIPTORSIZE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ALLOWSAMPLERIMAGEVIEWPOSTSUBMITCREATION
The struct member offsets. |
| public static final int | BUFFERCAPTUREREPLAYDESCRIPTORDATASIZE
The struct member offsets. |
| public static final int | BUFFERLESSPUSHDESCRIPTORS
The struct member offsets. |
| public static final int | COMBINEDIMAGESAMPLERDESCRIPTORSINGLEARRAY
The struct member offsets. |
| public static final int | COMBINEDIMAGESAMPLERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | DESCRIPTORBUFFERADDRESSSPACESIZE
The struct member offsets. |
| public static final int | DESCRIPTORBUFFEROFFSETALIGNMENT
The struct member offsets. |
| public static final int | IMAGECAPTUREREPLAYDESCRIPTORDATASIZE
The struct member offsets. |
| public static final int | IMAGEVIEWCAPTUREREPLAYDESCRIPTORDATASIZE
The struct member offsets. |
| public static final int | INPUTATTACHMENTDESCRIPTORSIZE
The struct member offsets. |
| public static final int | MAXDESCRIPTORBUFFERBINDINGS
The struct member offsets. |
| public static final int | MAXEMBEDDEDIMMUTABLESAMPLERBINDINGS
The struct member offsets. |
| public static final int | MAXEMBEDDEDIMMUTABLESAMPLERS
The struct member offsets. |
| public static final int | MAXRESOURCEDESCRIPTORBUFFERBINDINGS
The struct member offsets. |
| public static final int | MAXRESOURCEDESCRIPTORBUFFERRANGE
The struct member offsets. |
| public static final int | MAXSAMPLERDESCRIPTORBUFFERBINDINGS
The struct member offsets. |
| public static final int | MAXSAMPLERDESCRIPTORBUFFERRANGE
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | RESOURCEDESCRIPTORBUFFERADDRESSSPACESIZE
The struct member offsets. |
| public static final int | ROBUSTSTORAGEBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | ROBUSTSTORAGETEXELBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | ROBUSTUNIFORMBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | ROBUSTUNIFORMTEXELBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | SAMPLEDIMAGEDESCRIPTORSIZE
The struct member offsets. |
| public static final int | SAMPLERCAPTUREREPLAYDESCRIPTORDATASIZE
The struct member offsets. |
| public static final int | SAMPLERDESCRIPTORBUFFERADDRESSSPACESIZE
The struct member offsets. |
| public static final int | SAMPLERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STORAGEBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | STORAGEIMAGEDESCRIPTORSIZE
The struct member offsets. |
| public static final int | STORAGETEXELBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | UNIFORMBUFFERDESCRIPTORSIZE
The struct member offsets. |
| public static final int | UNIFORMTEXELBUFFERDESCRIPTORSIZE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceDescriptorBufferPropertiesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | accelerationStructureCaptureReplayDescriptorDataSize()
indicates the maximum size in bytes of the opaque data used for capture and replay with acceleration structures. |
| public long | accelerationStructureDescriptorSize()
indicates the size in bytes of a |
| public boolean | allowSamplerImageViewPostSubmitCreation()
indicates that the implementation does not restrict when the |
| public long | bufferCaptureReplayDescriptorDataSize()
indicates the maximum size in bytes of the opaque data used for capture and replay with buffers. |
| public boolean | bufferlessPushDescriptors()
indicates that the implementation does not require a buffer created with |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | combinedImageSamplerDescriptorSingleArray()
indicates that the implementation does not require an array of |
| public long | combinedImageSamplerDescriptorSize()
indicates the size in bytes of a |
| protected VkPhysicalDeviceDescriptorBufferPropertiesEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | create()
Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | |
| public long | descriptorBufferAddressSpaceSize()
indicates the total size in bytes of the address space available for descriptor buffers created with both |
| public long | descriptorBufferOffsetAlignment()
indicates the required alignment in bytes when setting offsets into the descriptor buffer. |
| public long | imageCaptureReplayDescriptorDataSize()
indicates the maximum size in bytes of the opaque data used for capture and replay with images. |
| public long | imageViewCaptureReplayDescriptorDataSize()
indicates the maximum size in bytes of the opaque data used for capture and replay with image views. |
| public long | inputAttachmentDescriptorSize()
indicates the size in bytes of a |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceDescriptorBufferPropertiesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxDescriptorBufferBindings()
indicates the maximum sum total number of descriptor buffers and embedded immutable sampler sets that can be bound. |
| public int | maxEmbeddedImmutableSamplerBindings()
indicates the maximum number of embedded immutable sampler sets that can be bound. |
| public int | maxEmbeddedImmutableSamplers()
indicates the maximum number of unique immutable samplers in descriptor set layouts created with |
| public int | maxResourceDescriptorBufferBindings()
indicates the maximum number of resource descriptor buffers that can be bound. |
| public long | maxResourceDescriptorBufferRange()
indicates the maximum range in bytes from the address of a resource descriptor buffer binding that is accessible to a shader. |
| public int | maxSamplerDescriptorBufferBindings()
indicates the maximum number of sampler descriptor buffers that can be bound. |
| public long | maxSamplerDescriptorBufferRange()
indicates the maximum range in bytes from the address of a sampler descriptor buffer binding that is accessible to a shader. |
| public static long | naccelerationStructureCaptureReplayDescriptorDataSize(long struct)
Unsafe version of |
| public static long | naccelerationStructureDescriptorSize(long struct)
Unsafe version of |
| public static int | nallowSamplerImageViewPostSubmitCreation(long struct)
Unsafe version of |
| public static long | nbufferCaptureReplayDescriptorDataSize(long struct)
Unsafe version of |
| public static int | |
| public static int | ncombinedImageSamplerDescriptorSingleArray(long struct)
Unsafe version of |
| public static long | ncombinedImageSamplerDescriptorSize(long struct)
Unsafe version of |
| public static long | |
| public static long | |
| public static long | nimageCaptureReplayDescriptorDataSize(long struct)
Unsafe version of |
| public static long | nimageViewCaptureReplayDescriptorDataSize(long struct)
Unsafe version of |
| public static long | |
| public static int | |
| public static int | nmaxEmbeddedImmutableSamplerBindings(long struct)
Unsafe version of |
| public static int | |
| public static int | nmaxResourceDescriptorBufferBindings(long struct)
Unsafe version of |
| public static long | |
| public static int | nmaxSamplerDescriptorBufferBindings(long struct)
Unsafe version of |
| public static long | |
| public static long | |
| public static void | |
| public static long | nresourceDescriptorBufferAddressSpaceSize(long struct)
Unsafe version of |
| public static long | |
| public static long | nrobustStorageTexelBufferDescriptorSize(long struct)
Unsafe version of |
| public static long | |
| public static long | nrobustUniformTexelBufferDescriptorSize(long struct)
Unsafe version of |
| public static long | |
| public static long | nsamplerCaptureReplayDescriptorDataSize(long struct)
Unsafe version of |
| public static long | nsamplerDescriptorBufferAddressSpaceSize(long struct)
Unsafe version of |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static int | |
| public static void | |
| public static long | |
| public static long | |
| public long | |
| public VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public long | resourceDescriptorBufferAddressSpaceSize()
indicates the total size in bytes of the address space available for descriptor buffers created with |
| public long | robustStorageBufferDescriptorSize()
indicates the size in bytes of a |
| public long | robustStorageTexelBufferDescriptorSize()
indicates the size in bytes of a |
| public long | robustUniformBufferDescriptorSize()
indicates the size in bytes of a |
| public long | robustUniformTexelBufferDescriptorSize()
indicates the size in bytes of a |
| public long | sampledImageDescriptorSize()
indicates the size in bytes of a |
| public long | samplerCaptureReplayDescriptorDataSize()
indicates the maximum size in bytes of the opaque data used for capture and replay with samplers. |
| public long | samplerDescriptorBufferAddressSpaceSize()
indicates the total size in bytes of the address space available for descriptor buffers created with |
| public long | |
| public VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public VkPhysicalDeviceDescriptorBufferPropertiesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | storageBufferDescriptorSize()
indicates the size in bytes of a |
| public long | storageImageDescriptorSize()
indicates the size in bytes of a |
| public long | storageTexelBufferDescriptorSize()
indicates the size in bytes of a |
| public int | |
| public VkPhysicalDeviceDescriptorBufferPropertiesEXT | |
| public VkPhysicalDeviceDescriptorBufferPropertiesEXT | sType$Default()
Sets the |
| public long | uniformBufferDescriptorSize()
indicates the size in bytes of a |
| public long | uniformTexelBufferDescriptorSize()
indicates the size in bytes of a |