Package org.lwjgl.vulkan
Class VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDescriptorSetLayoutBindingFlagsCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying creation flags for descriptor set layout bindings.Description
If
bindingCountis zero or if this structure is not in thepNextchain, theVkDescriptorBindingFlagsEXTfor each descriptor set layout binding is considered to be zero. Otherwise, the descriptor set layout binding atVkDescriptorSetLayoutCreateInfo::pBindings[i] uses the flags inpBindingFlags[i].Valid Usage
- If
bindingCountis not zero,bindingCountmust equalVkDescriptorSetLayoutCreateInfo::bindingCount - If
VkDescriptorSetLayoutCreateInfo::flagsincludesDESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all elements ofpBindingFlagsmust not includeDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT,DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT, orDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT - If an element of
pBindingFlagsincludesDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT, then all other elements ofVkDescriptorSetLayoutCreateInfo::pBindingsmust have a smaller value ofbinding - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUniformBufferUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_UNIFORM_BUFFERmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingSampledImageUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_SAMPLER,DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, orDESCRIPTOR_TYPE_SAMPLED_IMAGEmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageImageUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_IMAGEmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageBufferUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_BUFFERmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUniformTexelBufferUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingStorageTexelBufferUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceInlineUniformBlockFeaturesEXT::descriptorBindingInlineUniformBlockUpdateAfterBindis not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXTmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - All bindings with descriptor type
DESCRIPTOR_TYPE_INPUT_ATTACHMENT,DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, orDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICmust not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingUpdateUnusedWhilePendingis not enabled, all elements ofpBindingFlagsmust not includeDESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingPartiallyBoundis not enabled, all elements ofpBindingFlagsmust not includeDESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT - If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT::descriptorBindingVariableDescriptorCountis not enabled, all elements ofpBindingFlagsmust not includeDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT - If an element of
pBindingFlagsincludesDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT, that element’sdescriptorTypemust not beDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMICorDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT- If
bindingCountis not 0, andpBindingFlagsis notNULL,pBindingFlagsmust be a valid pointer to an array ofbindingCountvalid combinations ofVkDescriptorBindingFlagBitsEXTvalues
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.bindingCount– zero or the number of elements inpBindingFlags.pBindingFlags– a pointer to an array ofVkDescriptorBindingFlagsEXTbitfields, one for each descriptor set layout binding.
Layout
struct VkDescriptorSetLayoutBindingFlagsCreateInfoEXT { VkStructureType sType; void const * pNext; uint32_t bindingCount; VkDescriptorBindingFlagsEXT const * pBindingFlags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BufferAn array ofVkDescriptorSetLayoutBindingFlagsCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBINDINGCOUNT
PBINDINGFLAGS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intbindingCount()Returns the value of thebindingCountfield.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTbindingCount(int value)Sets the specified value to thebindingCountfield.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcalloc()Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withmemCalloc.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcallocStack()Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BuffercallocStack(int capacity)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcreate()Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withBufferUtils.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffercreate(int capacity)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcreate(long address)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance for the specified memory address.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance at the specified memory.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTcreateSafe(long address)static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTmalloc()Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withmemAlloc.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTmallocStack()Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the thread-localMemoryStack.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BuffermallocStack(int capacity)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the specifiedMemoryStack.static intnbindingCount(long struct)Unsafe version ofbindingCount().static voidnbindingCount(long struct, int value)Sets the specified value to thebindingCountfield of the specifiedstruct.static java.nio.IntBuffernpBindingFlags(long struct)Unsafe version ofpBindingFlags.static voidnpBindingFlags(long struct, java.nio.IntBuffer value)Unsafe version ofpBindingFlags.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.IntBufferpBindingFlags()Returns aIntBufferview of the data pointed to by thepBindingFlagsfield.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTpBindingFlags(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepBindingFlagsfield.longpNext()Returns the value of thepNextfield.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTset(int sType, long pNext, int bindingCount, java.nio.IntBuffer pBindingFlags)Initializes this struct with the specified values.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTset(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkDescriptorSetLayoutBindingFlagsCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
bindingCount
public int bindingCount()
Returns the value of thebindingCountfield.
-
pBindingFlags
@Nullable public java.nio.IntBuffer pBindingFlags()
Returns aIntBufferview of the data pointed to by thepBindingFlagsfield.
-
sType
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
bindingCount
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT bindingCount(int value)
Sets the specified value to thebindingCountfield.
-
pBindingFlags
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pBindingFlags(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepBindingFlagsfield.
-
set
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT set(int sType, long pNext, int bindingCount, @Nullable java.nio.IntBuffer pBindingFlags)
Initializes this struct with the specified values.
-
set
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT set(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT malloc()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT calloc()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create(long address)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT createSafe(long address)
-
malloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT mallocStack()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nbindingCount
public static int nbindingCount(long struct)
Unsafe version ofbindingCount().
-
npBindingFlags
@Nullable public static java.nio.IntBuffer npBindingFlags(long struct)
Unsafe version ofpBindingFlags.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nbindingCount
public static void nbindingCount(long struct, int value)Sets the specified value to thebindingCountfield of the specifiedstruct.
-
npBindingFlags
public static void npBindingFlags(long struct, @Nullable java.nio.IntBuffer value)Unsafe version ofpBindingFlags.
-
-