public class VkObjectTableEntryNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
VkDeviceGeneratedCommandsFeaturesNVX::computeBindingPointSupport feature is not enabled, flags must not contain OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVXtype must be a valid VkObjectEntryTypeNVX valueflags must be a valid combination of VkObjectEntryUsageFlagBitsNVX valuesflags must not be 0type – defines the entry typeflags – defines which VkPipelineBindPoint the resource can be used with. Some entry types allow only a single flag to be set.
struct VkObjectTableEntryNVX {
VkObjectEntryTypeNVX type;
VkObjectEntryUsageFlagsNVX flags;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkObjectTableEntryNVX.Buffer
An array of
VkObjectTableEntryNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkObjectTableEntryNVX(java.nio.ByteBuffer container)
Creates a
VkObjectTableEntryNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkObjectTableEntryNVX |
calloc()
Returns a new
VkObjectTableEntryNVX instance allocated with memCalloc. |
static VkObjectTableEntryNVX.Buffer |
calloc(int capacity)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated with memCalloc. |
static VkObjectTableEntryNVX |
callocStack()
Returns a new
VkObjectTableEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableEntryNVX.Buffer |
callocStack(int capacity)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableEntryNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableEntryNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableEntryNVX |
create()
Returns a new
VkObjectTableEntryNVX instance allocated with BufferUtils. |
static VkObjectTableEntryNVX.Buffer |
create(int capacity)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated with BufferUtils. |
static VkObjectTableEntryNVX |
create(long address)
Returns a new
VkObjectTableEntryNVX instance for the specified memory address. |
static VkObjectTableEntryNVX.Buffer |
create(long address,
int capacity)
Create a
VkObjectTableEntryNVX.Buffer instance at the specified memory. |
static VkObjectTableEntryNVX |
createSafe(long address)
|
static VkObjectTableEntryNVX.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkObjectTableEntryNVX |
flags(int value)
Sets the specified value to the
flags field. |
static VkObjectTableEntryNVX |
malloc()
Returns a new
VkObjectTableEntryNVX instance allocated with memAlloc. |
static VkObjectTableEntryNVX.Buffer |
malloc(int capacity)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated with memAlloc. |
static VkObjectTableEntryNVX |
mallocStack()
Returns a new
VkObjectTableEntryNVX instance allocated on the thread-local MemoryStack. |
static VkObjectTableEntryNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkObjectTableEntryNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableEntryNVX.Buffer instance allocated on the specified MemoryStack. |
static VkObjectTableEntryNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableEntryNVX instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
VkObjectTableEntryNVX |
set(int type,
int flags)
Initializes this struct with the specified values.
|
VkObjectTableEntryNVX |
set(VkObjectTableEntryNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
VkObjectTableEntryNVX |
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 VkObjectTableEntryNVX(java.nio.ByteBuffer container)
VkObjectTableEntryNVX 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 VkObjectTableEntryNVX type(int value)
type field.public VkObjectTableEntryNVX flags(int value)
flags field.public VkObjectTableEntryNVX set(int type, int flags)
public VkObjectTableEntryNVX set(VkObjectTableEntryNVX src)
src - the source structpublic static VkObjectTableEntryNVX malloc()
VkObjectTableEntryNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkObjectTableEntryNVX calloc()
VkObjectTableEntryNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkObjectTableEntryNVX create()
VkObjectTableEntryNVX instance allocated with BufferUtils.public static VkObjectTableEntryNVX create(long address)
VkObjectTableEntryNVX instance for the specified memory address.@Nullable public static VkObjectTableEntryNVX createSafe(long address)
public static VkObjectTableEntryNVX.Buffer malloc(int capacity)
VkObjectTableEntryNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer calloc(int capacity)
VkObjectTableEntryNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer create(int capacity)
VkObjectTableEntryNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer create(long address, int capacity)
VkObjectTableEntryNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkObjectTableEntryNVX.Buffer createSafe(long address, int capacity)
public static VkObjectTableEntryNVX mallocStack()
VkObjectTableEntryNVX instance allocated on the thread-local MemoryStack.public static VkObjectTableEntryNVX callocStack()
VkObjectTableEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkObjectTableEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableEntryNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkObjectTableEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkObjectTableEntryNVX.Buffer mallocStack(int capacity)
VkObjectTableEntryNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer callocStack(int capacity)
VkObjectTableEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableEntryNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkObjectTableEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableEntryNVX.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 void ntype(long struct,
int value)
type.public static void nflags(long struct,
int value)
flags.Copyright LWJGL. All Rights Reserved. License terms.