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.NativeResource
Structure specifying creation flags for descriptor set layout bindings.Description
If
bindingCount
is zero or if this structure is not in thepNext
chain, theVkDescriptorBindingFlagsEXT
for 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
bindingCount
is not zero,bindingCount
must equalVkDescriptorSetLayoutCreateInfo
::bindingCount
- If
VkDescriptorSetLayoutCreateInfo
::flags
includesDESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR
, then all elements ofpBindingFlags
must 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
pBindingFlags
includesDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
, then all other elements ofVkDescriptorSetLayoutCreateInfo
::pBindings
must have a smaller value ofbinding
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingUniformBufferUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_UNIFORM_BUFFER
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingSampledImageUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_SAMPLER
,DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
, orDESCRIPTOR_TYPE_SAMPLED_IMAGE
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingStorageImageUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_IMAGE
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingStorageBufferUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_BUFFER
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingUniformTexelBufferUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingStorageTexelBufferUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceInlineUniformBlockFeaturesEXT
::descriptorBindingInlineUniformBlockUpdateAfterBind
is not enabled, all bindings with descriptor typeDESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT
must 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_DYNAMIC
must not useDESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingUpdateUnusedWhilePending
is not enabled, all elements ofpBindingFlags
must not includeDESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingPartiallyBound
is not enabled, all elements ofpBindingFlags
must not includeDESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT
- If
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
::descriptorBindingVariableDescriptorCount
is not enabled, all elements ofpBindingFlags
must not includeDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
- If an element of
pBindingFlags
includesDESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
, that element’sdescriptorType
must not beDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
orDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT
- If
bindingCount
is not 0, andpBindingFlags
is notNULL
,pBindingFlags
must be a valid pointer to an array ofbindingCount
valid combinations ofVkDescriptorBindingFlagBitsEXT
values
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.bindingCount
– zero or the number of elements inpBindingFlags
.pBindingFlags
– a pointer to an array ofVkDescriptorBindingFlagsEXT
bitfields, 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 class
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
An array ofVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
BINDINGCOUNT
PBINDINGFLAGS
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bindingCount()
Returns the value of thebindingCount
field.VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
bindingCount(int value)
Sets the specified value to thebindingCount
field.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
calloc()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withmemCalloc
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
calloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withmemCalloc
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
callocStack()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
callocStack(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
create()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withBufferUtils
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
create(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withBufferUtils
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
create(long address)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance for the specified memory address.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
create(long address, int capacity)
Create aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance at the specified memory.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
createSafe(long address)
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
createSafe(long address, int capacity)
static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
malloc()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withmemAlloc
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
malloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withmemAlloc
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
mallocStack()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the thread-localMemoryStack
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
mallocStack(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the specifiedMemoryStack
.static int
nbindingCount(long struct)
Unsafe version ofbindingCount()
.static void
nbindingCount(long struct, int value)
Sets the specified value to thebindingCount
field of the specifiedstruct
.static java.nio.IntBuffer
npBindingFlags(long struct)
Unsafe version ofpBindingFlags
.static void
npBindingFlags(long struct, java.nio.IntBuffer value)
Unsafe version ofpBindingFlags
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.java.nio.IntBuffer
pBindingFlags()
Returns aIntBuffer
view of the data pointed to by thepBindingFlags
field.VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
pBindingFlags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepBindingFlags
field.long
pNext()
Returns the value of thepNext
field.VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
bindingCount
public int bindingCount()
Returns the value of thebindingCount
field.
-
pBindingFlags
@Nullable public java.nio.IntBuffer pBindingFlags()
Returns aIntBuffer
view of the data pointed to by thepBindingFlags
field.
-
sType
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pNext(long value)
Sets the specified value to thepNext
field.
-
bindingCount
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT bindingCount(int value)
Sets the specified value to thebindingCount
field.
-
pBindingFlags
public VkDescriptorSetLayoutBindingFlagsCreateInfoEXT pBindingFlags(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepBindingFlags
field.
-
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 newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT calloc()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated withBufferUtils
.
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT create(long address)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT createSafe(long address)
-
malloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance 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 newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack()
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDescriptorSetLayoutBindingFlagsCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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 thebindingCount
field of the specifiedstruct
.
-
npBindingFlags
public static void npBindingFlags(long struct, @Nullable java.nio.IntBuffer value)
Unsafe version ofpBindingFlags
.
-
-