public class VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If bindingCount is zero or if this structure is not included in the pNext chain, the VkDescriptorBindingFlagsEXT for each descriptor set layout binding is considered to be zero. Otherwise, the descriptor set layout binding at VkDescriptorSetLayoutCreateInfo::pBindings[i] uses the flags in pBindingFlags[i].
bindingCount is not zero, bindingCount must equal VkDescriptorSetLayoutCreateInfo::bindingCountVkDescriptorSetLayoutCreateInfo::flags includes DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all elements of pBindingFlags must not include DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT, DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT, or DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXTpBindingFlags includes DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT, then all other elements of VkDescriptorSetLayoutCreateInfo::pBindings must have a smaller value of bindingVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUniformBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_UNIFORM_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingSampledImageUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_SAMPLER, DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, or DESCRIPTOR_TYPE_SAMPLED_IMAGE must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageImageUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_IMAGE must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUniformTexelBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageTexelBufferUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceInlineUniformBlockFeaturesEXT::descriptorBindingInlineUniformBlockUpdateAfterBind is not enabled, all bindings with descriptor type DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTDESCRIPTOR_TYPE_INPUT_ATTACHMENT, DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC must not use DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUpdateUnusedWhilePending is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingPartiallyBound is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXTVkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingVariableDescriptorCount is not enabled, all elements of pBindingFlags must not include DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXTpBindingFlags includes DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT, that element’s descriptorType must not be DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICsType must be STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXTbindingCount is not 0, and pBindingFlags is not NULL, pBindingFlags must be a valid pointer to an array of bindingCount valid combinations of VkDescriptorBindingFlagBitsEXT valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.bindingCount – zero or the number of elements in pBindingFlags.pBindingFlags – a pointer to an array of VkDescriptorBindingFlagsEXT bitfields, one for each descriptor set layout binding.
struct VkDescriptorSetLayoutBindingFlagsCreateInfoEXT {
VkStructureType sType;
void const * pNext;
uint32_t bindingCount;
VkDescriptorBindingFlagsEXT const * pBindingFlags;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
An array of
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BINDINGCOUNT
The struct member offsets.
|
static int |
PBINDINGFLAGS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
bindingCount()
Returns the value of the
bindingCount field. |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
bindingCount(int value)
Sets the specified value to the
bindingCount field. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
calloc()
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with memCalloc. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
callocStack()
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
create()
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with BufferUtils. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
create(long address)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance for the specified memory address. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance at the specified memory. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
createSafe(long address)
|
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
malloc()
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with memAlloc. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
mallocStack()
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nbindingCount(long struct)
Unsafe version of
bindingCount(). |
static void |
nbindingCount(long struct,
int value)
Sets the specified value to the
bindingCount field of the specified struct. |
static java.nio.IntBuffer |
npBindingFlags(long struct)
Unsafe version of
pBindingFlags. |
static void |
npBindingFlags(long struct,
java.nio.IntBuffer value)
Unsafe version of
pBindingFlags. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.IntBuffer |
pBindingFlags()
Returns a
IntBuffer view of the data pointed to by the pBindingFlags field. |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
pBindingFlags(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pBindingFlags field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
set(int sType,
long pNext,
int bindingCount,
java.nio.IntBuffer pBindingFlags)
Initializes this struct with the specified values.
|
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
set(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int BINDINGCOUNT
public static final int PBINDINGFLAGS
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int bindingCount()
bindingCount field.@Nullable public java.nio.IntBuffer pBindingFlags()
IntBuffer view of the data pointed to by the pBindingFlags field.public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT sType(int value)
sType field.public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pNext(long value)
pNext field.public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT bindingCount(int value)
bindingCount field.public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pBindingFlags(@Nullable java.nio.IntBuffer value)
IntBuffer to the pBindingFlags field.public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT set(int sType, long pNext, int bindingCount, @Nullable java.nio.IntBuffer pBindingFlags)
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT set(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT src)
src - the source structpublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT malloc()
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT calloc()
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create()
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated with BufferUtils.public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create(long address)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance for the specified memory address.@Nullable public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT createSafe(long address)
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer malloc(int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer calloc(int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(long address, int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT mallocStack()
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack()
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer mallocStack(int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer callocStack(int capacity)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nbindingCount(long struct)
bindingCount().@Nullable public static java.nio.IntBuffer npBindingFlags(long struct)
pBindingFlags.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nbindingCount(long struct,
int value)
bindingCount field of the specified struct.public static void npBindingFlags(long struct,
@Nullable
java.nio.IntBuffer value)
pBindingFlags.Copyright LWJGL. All Rights Reserved. License terms.