If the VkPhysicalDeviceDescriptorIndexingFeatures structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceDescriptorIndexingFeatures can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.
struct VkPhysicalDeviceDescriptorIndexingFeatures {
VkStructureType sType;
void * pNext;
VkBool32 shaderInputAttachmentArrayDynamicIndexing;
VkBool32 shaderUniformTexelBufferArrayDynamicIndexing;
VkBool32 shaderStorageTexelBufferArrayDynamicIndexing;
VkBool32 shaderUniformBufferArrayNonUniformIndexing;
VkBool32 shaderSampledImageArrayNonUniformIndexing;
VkBool32 shaderStorageBufferArrayNonUniformIndexing;
VkBool32 shaderStorageImageArrayNonUniformIndexing;
VkBool32 shaderInputAttachmentArrayNonUniformIndexing;
VkBool32 shaderUniformTexelBufferArrayNonUniformIndexing;
VkBool32 shaderStorageTexelBufferArrayNonUniformIndexing;
VkBool32 descriptorBindingUniformBufferUpdateAfterBind;
VkBool32 descriptorBindingSampledImageUpdateAfterBind;
VkBool32 descriptorBindingStorageImageUpdateAfterBind;
VkBool32 descriptorBindingStorageBufferUpdateAfterBind;
VkBool32 descriptorBindingUniformTexelBufferUpdateAfterBind;
VkBool32 descriptorBindingStorageTexelBufferUpdateAfterBind;
VkBool32 descriptorBindingUpdateUnusedWhilePending;
VkBool32 descriptorBindingPartiallyBound;
VkBool32 descriptorBindingVariableDescriptorCount;
VkBool32 runtimeDescriptorArray;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DESCRIPTORBINDINGPARTIALLYBOUND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGSAMPLEDIMAGEUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGSTORAGEBUFFERUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGSTORAGEIMAGEUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGSTORAGETEXELBUFFERUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGUNIFORMBUFFERUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGUNIFORMTEXELBUFFERUPDATEAFTERBIND
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGUPDATEUNUSEDWHILEPENDING
The struct member offsets. |
| public static final int | DESCRIPTORBINDINGVARIABLEDESCRIPTORCOUNT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | RUNTIMEDESCRIPTORARRAY
The struct member offsets. |
| public static final int | SHADERINPUTATTACHMENTARRAYDYNAMICINDEXING
The struct member offsets. |
| public static final int | SHADERINPUTATTACHMENTARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERSAMPLEDIMAGEARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERSTORAGEBUFFERARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERSTORAGEIMAGEARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERSTORAGETEXELBUFFERARRAYDYNAMICINDEXING
The struct member offsets. |
| public static final int | SHADERSTORAGETEXELBUFFERARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERUNIFORMBUFFERARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SHADERUNIFORMTEXELBUFFERARRAYDYNAMICINDEXING
The struct member offsets. |
| public static final int | SHADERUNIFORMTEXELBUFFERARRAYNONUNIFORMINDEXING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceDescriptorIndexingFeatures(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceDescriptorIndexingFeatures | |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceDescriptorIndexingFeatures | 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 VkPhysicalDeviceDescriptorIndexingFeatures | create()
Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures | create(long address)
Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceDescriptorIndexingFeatures | |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | |
| public boolean | descriptorBindingPartiallyBound()
indicates whether the implementation supports statically using a descriptor set binding in which some descriptors are not valid. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingPartiallyBound(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingSampledImageUpdateAfterBind()
indicates whether the implementation supports updating sampled image descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingSampledImageUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingStorageBufferUpdateAfterBind()
indicates whether the implementation supports updating storage buffer descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingStorageBufferUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingStorageImageUpdateAfterBind()
indicates whether the implementation supports updating storage image descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingStorageImageUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingStorageTexelBufferUpdateAfterBind()
indicates whether the implementation supports updating storage texel buffer descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingStorageTexelBufferUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingUniformBufferUpdateAfterBind()
indicates whether the implementation supports updating uniform buffer descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingUniformBufferUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingUniformTexelBufferUpdateAfterBind()
indicates whether the implementation supports updating uniform texel buffer descriptors after a set is bound. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingUniformTexelBufferUpdateAfterBind(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingUpdateUnusedWhilePending()
indicates whether the implementation supports updating descriptors while the set is in use. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingUpdateUnusedWhilePending(boolean value)
Sets the specified value to the |
| public boolean | descriptorBindingVariableDescriptorCount()
indicates whether the implementation supports descriptor sets with a variable-sized last binding. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | descriptorBindingVariableDescriptorCount(boolean value)
Sets the specified value to the |
| public static VkPhysicalDeviceDescriptorIndexingFeatures | |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceDescriptorIndexingFeatures. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ndescriptorBindingPartiallyBound(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingSampledImageUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingSampledImageUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingStorageBufferUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingStorageBufferUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingStorageImageUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingStorageImageUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingStorageTexelBufferUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingStorageTexelBufferUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingUniformBufferUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingUniformBufferUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingUniformTexelBufferUpdateAfterBind(long struct)
Unsafe version of |
| public static void | ndescriptorBindingUniformTexelBufferUpdateAfterBind(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingUpdateUnusedWhilePending(long struct)
Unsafe version of |
| public static void | ndescriptorBindingUpdateUnusedWhilePending(long struct, int value)
Unsafe version of |
| public static int | ndescriptorBindingVariableDescriptorCount(long struct)
Unsafe version of |
| public static void | ndescriptorBindingVariableDescriptorCount(long struct, int value)
Unsafe version of |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | nshaderInputAttachmentArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderInputAttachmentArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderInputAttachmentArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderInputAttachmentArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderSampledImageArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderSampledImageArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageBufferArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageBufferArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageImageArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageImageArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageTexelBufferArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageTexelBufferArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageTexelBufferArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageTexelBufferArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderUniformBufferArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderUniformBufferArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderUniformTexelBufferArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderUniformTexelBufferArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderUniformTexelBufferArrayNonUniformIndexing(long struct)
Unsafe version of |
| public static void | nshaderUniformTexelBufferArrayNonUniformIndexing(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceDescriptorIndexingFeatures | |
| public boolean | runtimeDescriptorArray()
indicates whether the implementation supports the SPIR-V |
| public VkPhysicalDeviceDescriptorIndexingFeatures | |
| public VkPhysicalDeviceDescriptorIndexingFeatures | set(int sType, long pNext, boolean shaderInputAttachmentArrayDynamicIndexing, boolean shaderUniformTexelBufferArrayDynamicIndexing, boolean shaderStorageTexelBufferArrayDynamicIndexing, boolean shaderUniformBufferArrayNonUniformIndexing, boolean shaderSampledImageArrayNonUniformIndexing, boolean shaderStorageBufferArrayNonUniformIndexing, boolean shaderStorageImageArrayNonUniformIndexing, boolean shaderInputAttachmentArrayNonUniformIndexing, boolean shaderUniformTexelBufferArrayNonUniformIndexing, boolean shaderStorageTexelBufferArrayNonUniformIndexing, boolean descriptorBindingUniformBufferUpdateAfterBind, boolean descriptorBindingSampledImageUpdateAfterBind, boolean descriptorBindingStorageImageUpdateAfterBind, boolean descriptorBindingStorageBufferUpdateAfterBind, boolean descriptorBindingUniformTexelBufferUpdateAfterBind, boolean descriptorBindingStorageTexelBufferUpdateAfterBind, boolean descriptorBindingUpdateUnusedWhilePending, boolean descriptorBindingPartiallyBound, boolean descriptorBindingVariableDescriptorCount, boolean runtimeDescriptorArray)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public boolean | shaderInputAttachmentArrayDynamicIndexing()
indicates whether arrays of input attachments can be indexed by dynamically uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderInputAttachmentArrayDynamicIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderInputAttachmentArrayNonUniformIndexing()
indicates whether arrays of input attachments can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderInputAttachmentArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderSampledImageArrayNonUniformIndexing()
indicates whether arrays of samplers or sampled images can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderSampledImageArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderStorageBufferArrayNonUniformIndexing()
indicates whether arrays of storage buffers can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderStorageBufferArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderStorageImageArrayNonUniformIndexing()
indicates whether arrays of storage images can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderStorageImageArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderStorageTexelBufferArrayDynamicIndexing()
indicates whether arrays of storage texel buffers can be indexed by dynamically uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderStorageTexelBufferArrayDynamicIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderStorageTexelBufferArrayNonUniformIndexing()
indicates whether arrays of storage texel buffers can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderStorageTexelBufferArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderUniformBufferArrayNonUniformIndexing()
indicates whether arrays of uniform buffers can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderUniformBufferArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderUniformTexelBufferArrayDynamicIndexing()
indicates whether arrays of uniform texel buffers can be indexed by dynamically uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderUniformTexelBufferArrayDynamicIndexing(boolean value)
Sets the specified value to the |
| public boolean | shaderUniformTexelBufferArrayNonUniformIndexing()
indicates whether arrays of uniform texel buffers can be indexed by non-uniform integer expressions in shader code. |
| public VkPhysicalDeviceDescriptorIndexingFeatures | shaderUniformTexelBufferArrayNonUniformIndexing(boolean value)
Sets the specified value to the |
| public int | |
| public int | |
| public VkPhysicalDeviceDescriptorIndexingFeatures | |
| public VkPhysicalDeviceDescriptorIndexingFeatures | sType$Default()
Sets the |