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