public class VkObjectTableDescriptorSetEntryNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
type must be OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVXtype must be a valid VkObjectEntryTypeNVX valueflags must be a valid combination of VkObjectEntryUsageFlagBitsNVX valuesflags must not be 0pipelineLayout must be a valid VkPipelineLayout handledescriptorSet must be a valid VkDescriptorSet handledescriptorSet, and pipelineLayout must have been created, allocated, or retrieved from the same VkDevicepipelineLayout – specifies the VkPipelineLayout that the descriptorSet is used with.descriptorSet – specifies the VkDescriptorSet that can be bound with this entry.
struct VkObjectTableDescriptorSetEntryNVX {
VkObjectEntryTypeNVX type;
VkObjectEntryUsageFlagsNVX flags;
VkPipelineLayout pipelineLayout;
VkDescriptorSet descriptorSet;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkObjectTableDescriptorSetEntryNVX.Buffer
An array of
VkObjectTableDescriptorSetEntryNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTORSET
The struct member offsets.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PIPELINELAYOUT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)
Creates a
VkObjectTableDescriptorSetEntryNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkObjectTableDescriptorSetEntryNVX |
calloc()
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated with memCalloc. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
calloc(int capacity)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with memCalloc. |
static VkObjectTableDescriptorSetEntryNVX |
callocStack()
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
callocStack(int capacity)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableDescriptorSetEntryNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableDescriptorSetEntryNVX |
create()
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated with BufferUtils. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
create(int capacity)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with BufferUtils. |
static VkObjectTableDescriptorSetEntryNVX |
create(long address)
Returns a new
VkObjectTableDescriptorSetEntryNVX instance for the specified memory address. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
create(long address,
int capacity)
Create a
VkObjectTableDescriptorSetEntryNVX.Buffer instance at the specified memory. |
static VkObjectTableDescriptorSetEntryNVX |
createSafe(long address)
|
static VkObjectTableDescriptorSetEntryNVX.Buffer |
createSafe(long address,
int capacity)
|
long |
descriptorSet()
Returns the value of the
descriptorSet field. |
VkObjectTableDescriptorSetEntryNVX |
descriptorSet(long value)
Sets the specified value to the
descriptorSet field. |
int |
flags()
Returns the value of the
flags field. |
VkObjectTableDescriptorSetEntryNVX |
flags(int value)
Sets the specified value to the
flags field. |
static VkObjectTableDescriptorSetEntryNVX |
malloc()
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated with memAlloc. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
malloc(int capacity)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with memAlloc. |
static VkObjectTableDescriptorSetEntryNVX |
mallocStack()
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated on the thread-local MemoryStack. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkObjectTableDescriptorSetEntryNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the specified MemoryStack. |
static VkObjectTableDescriptorSetEntryNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableDescriptorSetEntryNVX instance allocated on the specified MemoryStack. |
static long |
ndescriptorSet(long struct)
Unsafe version of
descriptorSet(). |
static void |
ndescriptorSet(long struct,
long value)
Unsafe version of
descriptorSet. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static long |
npipelineLayout(long struct)
Unsafe version of
pipelineLayout(). |
static void |
npipelineLayout(long struct,
long value)
Unsafe version of
pipelineLayout. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
long |
pipelineLayout()
Returns the value of the
pipelineLayout field. |
VkObjectTableDescriptorSetEntryNVX |
pipelineLayout(long value)
Sets the specified value to the
pipelineLayout field. |
VkObjectTableDescriptorSetEntryNVX |
set(int type,
int flags,
long pipelineLayout,
long descriptorSet)
Initializes this struct with the specified values.
|
VkObjectTableDescriptorSetEntryNVX |
set(VkObjectTableDescriptorSetEntryNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
VkObjectTableDescriptorSetEntryNVX |
type(int value)
Sets the specified value to the
type field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TYPE
public static final int FLAGS
public static final int PIPELINELAYOUT
public static final int DESCRIPTORSET
public VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)
VkObjectTableDescriptorSetEntryNVX 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 type()
type field.public int flags()
flags field.public long pipelineLayout()
pipelineLayout field.public long descriptorSet()
descriptorSet field.public VkObjectTableDescriptorSetEntryNVX type(int value)
type field.public VkObjectTableDescriptorSetEntryNVX flags(int value)
flags field.public VkObjectTableDescriptorSetEntryNVX pipelineLayout(long value)
pipelineLayout field.public VkObjectTableDescriptorSetEntryNVX descriptorSet(long value)
descriptorSet field.public VkObjectTableDescriptorSetEntryNVX set(int type, int flags, long pipelineLayout, long descriptorSet)
public VkObjectTableDescriptorSetEntryNVX set(VkObjectTableDescriptorSetEntryNVX src)
src - the source structpublic static VkObjectTableDescriptorSetEntryNVX malloc()
VkObjectTableDescriptorSetEntryNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkObjectTableDescriptorSetEntryNVX calloc()
VkObjectTableDescriptorSetEntryNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkObjectTableDescriptorSetEntryNVX create()
VkObjectTableDescriptorSetEntryNVX instance allocated with BufferUtils.public static VkObjectTableDescriptorSetEntryNVX create(long address)
VkObjectTableDescriptorSetEntryNVX instance for the specified memory address.@Nullable public static VkObjectTableDescriptorSetEntryNVX createSafe(long address)
public static VkObjectTableDescriptorSetEntryNVX.Buffer malloc(int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer calloc(int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer create(int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer create(long address, int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkObjectTableDescriptorSetEntryNVX.Buffer createSafe(long address, int capacity)
public static VkObjectTableDescriptorSetEntryNVX mallocStack()
VkObjectTableDescriptorSetEntryNVX instance allocated on the thread-local MemoryStack.public static VkObjectTableDescriptorSetEntryNVX callocStack()
VkObjectTableDescriptorSetEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkObjectTableDescriptorSetEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableDescriptorSetEntryNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkObjectTableDescriptorSetEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableDescriptorSetEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkObjectTableDescriptorSetEntryNVX.Buffer mallocStack(int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer callocStack(int capacity)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableDescriptorSetEntryNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkObjectTableDescriptorSetEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableDescriptorSetEntryNVX.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 ntype(long struct)
type().public static int nflags(long struct)
flags().public static long npipelineLayout(long struct)
pipelineLayout().public static long ndescriptorSet(long struct)
descriptorSet().public static void ntype(long struct,
int value)
type.public static void nflags(long struct,
int value)
flags.public static void npipelineLayout(long struct,
long value)
pipelineLayout.public static void ndescriptorSet(long struct,
long value)
descriptorSet.Copyright LWJGL. All Rights Reserved. License terms.