If the nullDescriptor feature is enabled, pSampledImage, pStorageImage, pUniformTexelBuffer, pStorageTexelBuffer, pUniformBuffer, and pStorageBuffer can each be NULL. Loads from a null descriptor return zero values and stores and atomics to a null descriptor are discarded.
If the nullDescriptor feature is enabled, accelerationStructure can be 0. A null acceleration structure descriptor results in the miss shader being invoked.
VkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_UNIFORM_BUFFER, and pUniformBuffer→address is the address of a non-sparse buffer, then that buffer must be bound completely and contiguously to a single VkDeviceMemory objectVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_STORAGE_BUFFER, and pStorageBuffer→address is the address of a non-sparse buffer, then that buffer must be bound completely and contiguously to a single VkDeviceMemory objectVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, and pUniformTexelBuffer→address is the address of a non-sparse buffer, then that buffer must be bound completely and contiguously to a single VkDeviceMemory objectVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, and pStorageTexelBuffer→address is the address of a non-sparse buffer, then that buffer must be bound completely and contiguously to a single VkDeviceMemory objectVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and the nullDescriptor feature is not enabled, pCombinedImageSampler→imageView must not be NULL_HANDLEVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_SAMPLED_IMAGE, and the nullDescriptor feature is not enabled, pSampledImage must not be NULL and pSampledImage→imageView must not be NULL_HANDLEVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_STORAGE_IMAGE, and the nullDescriptor feature is not enabled, pStorageImage must not be NULL and pStorageImage→imageView must not be NULL_HANDLEVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, and the nullDescriptor feature is not enabled, pUniformTexelBuffer must not be NULLVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, and the nullDescriptor feature is not enabled, pStorageTexelBuffer must not be NULLVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_UNIFORM_BUFFER, and the nullDescriptor feature is not enabled, pUniformBuffer must not be NULLVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_STORAGE_BUFFER, and the nullDescriptor feature is not enabled, pStorageBuffer must not be NULLVkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, and the nullDescriptor feature is not enabled, accelerationStructure must not be 0VkDescriptorGetInfoEXT:type is DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV, and the nullDescriptor feature is not enabled, accelerationStructure must not be 0VkDescriptorAddressInfoEXT, VkDescriptorGetInfoEXT, VkDescriptorImageInfo
union VkDescriptorDataEXT {
VkSampler const * pSampler;
VkDescriptorImageInfo const * pCombinedImageSampler;
VkDescriptorImageInfo const * pInputAttachmentImage;
VkDescriptorImageInfo const * pSampledImage;
VkDescriptorImageInfo const * pStorageImage;
VkDescriptorAddressInfoEXT const * pUniformTexelBuffer;
VkDescriptorAddressInfoEXT const * pStorageTexelBuffer;
VkDescriptorAddressInfoEXT const * pUniformBuffer;
VkDescriptorAddressInfoEXT const * pStorageBuffer;
VkDeviceAddress accelerationStructure;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDescriptorDataEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCELERATIONSTRUCTURE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PCOMBINEDIMAGESAMPLER
The struct member offsets. |
| public static final int | PINPUTATTACHMENTIMAGE
The struct member offsets. |
| public static final int | PSAMPLEDIMAGE
The struct member offsets. |
| public static final int | PSAMPLER
The struct member offsets. |
| public static final int | PSTORAGEBUFFER
The struct member offsets. |
| public static final int | PSTORAGEIMAGE
The struct member offsets. |
| public static final int | PSTORAGETEXELBUFFER
The struct member offsets. |
| public static final int | PUNIFORMBUFFER
The struct member offsets. |
| public static final int | PUNIFORMTEXELBUFFER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDescriptorDataEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | accelerationStructure()
the address of a |
| public VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorDataEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorDataEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDescriptorDataEXT | 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 VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorDataEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT. | |
| public static VkDescriptorDataEXT | |
| public static VkDescriptorDataEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorDataEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorDataEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static VkDescriptorImageInfo | |
| public static void | npCombinedImageSampler(long struct, VkDescriptorImageInfo value)
Unsafe version of |
| public static VkDescriptorImageInfo | |
| public static void | npInputAttachmentImage(long struct, VkDescriptorImageInfo value)
Unsafe version of |
| public static VkDescriptorImageInfo | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static VkDescriptorAddressInfoEXT | |
| public static void | |
| public static VkDescriptorImageInfo | |
| public static void | |
| public static VkDescriptorAddressInfoEXT | |
| public static void | npStorageTexelBuffer(long struct, VkDescriptorAddressInfoEXT value)
Unsafe version of |
| public static VkDescriptorAddressInfoEXT | |
| public static void | |
| public static VkDescriptorAddressInfoEXT | |
| public static void | npUniformTexelBuffer(long struct, VkDescriptorAddressInfoEXT value)
Unsafe version of |
| public VkDescriptorImageInfo | pCombinedImageSampler()
a pointer to a |
| public VkDescriptorDataEXT | pCombinedImageSampler(VkDescriptorImageInfo value)
Sets the address of the specified |
| public VkDescriptorImageInfo | pInputAttachmentImage()
a pointer to a |
| public VkDescriptorDataEXT | pInputAttachmentImage(VkDescriptorImageInfo value)
Sets the address of the specified |
| public VkDescriptorImageInfo | pSampledImage()
a pointer to a |
| public VkDescriptorDataEXT | pSampledImage(VkDescriptorImageInfo value)
Sets the address of the specified |
| public LongBuffer | Returns: a pointer to aVkSampler handle specifying the parameters of a DESCRIPTOR_TYPE_SAMPLER descriptor.the number of elements in the returned buffer capacity)
|
| public VkDescriptorDataEXT | |
| public VkDescriptorAddressInfoEXT | pStorageBuffer()
a pointer to a |
| public VkDescriptorDataEXT | pStorageBuffer(VkDescriptorAddressInfoEXT value)
Sets the address of the specified |
| public VkDescriptorImageInfo | pStorageImage()
a pointer to a |
| public VkDescriptorDataEXT | pStorageImage(VkDescriptorImageInfo value)
Sets the address of the specified |
| public VkDescriptorAddressInfoEXT | pStorageTexelBuffer()
a pointer to a |
| public VkDescriptorDataEXT | pStorageTexelBuffer(VkDescriptorAddressInfoEXT value)
Sets the address of the specified |
| public VkDescriptorAddressInfoEXT | pUniformBuffer()
a pointer to a |
| public VkDescriptorDataEXT | pUniformBuffer(VkDescriptorAddressInfoEXT value)
Sets the address of the specified |
| public VkDescriptorAddressInfoEXT | pUniformTexelBuffer()
a pointer to a |
| public VkDescriptorDataEXT | pUniformTexelBuffer(VkDescriptorAddressInfoEXT value)
Sets the address of the specified |
| public VkDescriptorDataEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |