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