public class VkDeviceGeneratedCommandsLimitsNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVXpNext must be NULLGetPhysicalDeviceGeneratedCommandsPropertiesNVX
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxIndirectCommandsLayoutTokenCount – the maximum number of tokens in VkIndirectCommandsLayoutNVX.maxObjectEntryCounts – the maximum number of entries per resource type in VkObjectTableNVX.minSequenceCountBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.minSequenceIndexBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.minCommandsTokenBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.
struct VkDeviceGeneratedCommandsLimitsNVX {
VkStructureType sType;
void const * pNext;
uint32_t maxIndirectCommandsLayoutTokenCount;
uint32_t maxObjectEntryCounts;
uint32_t minSequenceCountBufferOffsetAlignment;
uint32_t minSequenceIndexBufferOffsetAlignment;
uint32_t minCommandsTokenBufferOffsetAlignment;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGeneratedCommandsLimitsNVX.Buffer
An array of
VkDeviceGeneratedCommandsLimitsNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT
The struct member offsets.
|
static int |
MAXOBJECTENTRYCOUNTS
The struct member offsets.
|
static int |
MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT
The struct member offsets.
|
static int |
MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT
The struct member offsets.
|
static int |
MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceGeneratedCommandsLimitsNVX(java.nio.ByteBuffer container)
Creates a
VkDeviceGeneratedCommandsLimitsNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGeneratedCommandsLimitsNVX |
calloc()
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated with memCalloc. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with memCalloc. |
static VkDeviceGeneratedCommandsLimitsNVX |
callocStack()
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsLimitsNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsLimitsNVX |
create()
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated with BufferUtils. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
create(int capacity)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with BufferUtils. |
static VkDeviceGeneratedCommandsLimitsNVX |
create(long address)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance for the specified memory address. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance at the specified memory. |
static VkDeviceGeneratedCommandsLimitsNVX |
createSafe(long address)
|
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceGeneratedCommandsLimitsNVX |
malloc()
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated with memAlloc. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with memAlloc. |
static VkDeviceGeneratedCommandsLimitsNVX |
mallocStack()
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the thread-local MemoryStack. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGeneratedCommandsLimitsNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGeneratedCommandsLimitsNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the specified MemoryStack. |
int |
maxIndirectCommandsLayoutTokenCount()
Returns the value of the
maxIndirectCommandsLayoutTokenCount field. |
VkDeviceGeneratedCommandsLimitsNVX |
maxIndirectCommandsLayoutTokenCount(int value)
Sets the specified value to the
maxIndirectCommandsLayoutTokenCount field. |
int |
maxObjectEntryCounts()
Returns the value of the
maxObjectEntryCounts field. |
VkDeviceGeneratedCommandsLimitsNVX |
maxObjectEntryCounts(int value)
Sets the specified value to the
maxObjectEntryCounts field. |
int |
minCommandsTokenBufferOffsetAlignment()
Returns the value of the
minCommandsTokenBufferOffsetAlignment field. |
VkDeviceGeneratedCommandsLimitsNVX |
minCommandsTokenBufferOffsetAlignment(int value)
Sets the specified value to the
minCommandsTokenBufferOffsetAlignment field. |
int |
minSequenceCountBufferOffsetAlignment()
Returns the value of the
minSequenceCountBufferOffsetAlignment field. |
VkDeviceGeneratedCommandsLimitsNVX |
minSequenceCountBufferOffsetAlignment(int value)
Sets the specified value to the
minSequenceCountBufferOffsetAlignment field. |
int |
minSequenceIndexBufferOffsetAlignment()
Returns the value of the
minSequenceIndexBufferOffsetAlignment field. |
VkDeviceGeneratedCommandsLimitsNVX |
minSequenceIndexBufferOffsetAlignment(int value)
Sets the specified value to the
minSequenceIndexBufferOffsetAlignment field. |
static int |
nmaxIndirectCommandsLayoutTokenCount(long struct)
Unsafe version of
maxIndirectCommandsLayoutTokenCount(). |
static void |
nmaxIndirectCommandsLayoutTokenCount(long struct,
int value)
Unsafe version of
maxIndirectCommandsLayoutTokenCount. |
static int |
nmaxObjectEntryCounts(long struct)
Unsafe version of
maxObjectEntryCounts(). |
static void |
nmaxObjectEntryCounts(long struct,
int value)
Unsafe version of
maxObjectEntryCounts. |
static int |
nminCommandsTokenBufferOffsetAlignment(long struct)
Unsafe version of
minCommandsTokenBufferOffsetAlignment(). |
static void |
nminCommandsTokenBufferOffsetAlignment(long struct,
int value)
Unsafe version of
minCommandsTokenBufferOffsetAlignment. |
static int |
nminSequenceCountBufferOffsetAlignment(long struct)
Unsafe version of
minSequenceCountBufferOffsetAlignment(). |
static void |
nminSequenceCountBufferOffsetAlignment(long struct,
int value)
Unsafe version of
minSequenceCountBufferOffsetAlignment. |
static int |
nminSequenceIndexBufferOffsetAlignment(long struct)
Unsafe version of
minSequenceIndexBufferOffsetAlignment(). |
static void |
nminSequenceIndexBufferOffsetAlignment(long struct,
int value)
Unsafe version of
minSequenceIndexBufferOffsetAlignment. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceGeneratedCommandsLimitsNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceGeneratedCommandsLimitsNVX |
set(int sType,
long pNext,
int maxIndirectCommandsLayoutTokenCount,
int maxObjectEntryCounts,
int minSequenceCountBufferOffsetAlignment,
int minSequenceIndexBufferOffsetAlignment,
int minCommandsTokenBufferOffsetAlignment)
Initializes this struct with the specified values.
|
VkDeviceGeneratedCommandsLimitsNVX |
set(VkDeviceGeneratedCommandsLimitsNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceGeneratedCommandsLimitsNVX |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT
public static final int MAXOBJECTENTRYCOUNTS
public static final int MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT
public static final int MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT
public static final int MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT
public VkDeviceGeneratedCommandsLimitsNVX(java.nio.ByteBuffer container)
VkDeviceGeneratedCommandsLimitsNVX 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 sType()
sType field.public long pNext()
pNext field.public int maxIndirectCommandsLayoutTokenCount()
maxIndirectCommandsLayoutTokenCount field.public int maxObjectEntryCounts()
maxObjectEntryCounts field.public int minSequenceCountBufferOffsetAlignment()
minSequenceCountBufferOffsetAlignment field.public int minSequenceIndexBufferOffsetAlignment()
minSequenceIndexBufferOffsetAlignment field.public int minCommandsTokenBufferOffsetAlignment()
minCommandsTokenBufferOffsetAlignment field.public VkDeviceGeneratedCommandsLimitsNVX sType(int value)
sType field.public VkDeviceGeneratedCommandsLimitsNVX pNext(long value)
pNext field.public VkDeviceGeneratedCommandsLimitsNVX maxIndirectCommandsLayoutTokenCount(int value)
maxIndirectCommandsLayoutTokenCount field.public VkDeviceGeneratedCommandsLimitsNVX maxObjectEntryCounts(int value)
maxObjectEntryCounts field.public VkDeviceGeneratedCommandsLimitsNVX minSequenceCountBufferOffsetAlignment(int value)
minSequenceCountBufferOffsetAlignment field.public VkDeviceGeneratedCommandsLimitsNVX minSequenceIndexBufferOffsetAlignment(int value)
minSequenceIndexBufferOffsetAlignment field.public VkDeviceGeneratedCommandsLimitsNVX minCommandsTokenBufferOffsetAlignment(int value)
minCommandsTokenBufferOffsetAlignment field.public VkDeviceGeneratedCommandsLimitsNVX set(int sType, long pNext, int maxIndirectCommandsLayoutTokenCount, int maxObjectEntryCounts, int minSequenceCountBufferOffsetAlignment, int minSequenceIndexBufferOffsetAlignment, int minCommandsTokenBufferOffsetAlignment)
public VkDeviceGeneratedCommandsLimitsNVX set(VkDeviceGeneratedCommandsLimitsNVX src)
src - the source structpublic static VkDeviceGeneratedCommandsLimitsNVX malloc()
VkDeviceGeneratedCommandsLimitsNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGeneratedCommandsLimitsNVX calloc()
VkDeviceGeneratedCommandsLimitsNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGeneratedCommandsLimitsNVX create()
VkDeviceGeneratedCommandsLimitsNVX instance allocated with BufferUtils.public static VkDeviceGeneratedCommandsLimitsNVX create(long address)
VkDeviceGeneratedCommandsLimitsNVX instance for the specified memory address.@Nullable public static VkDeviceGeneratedCommandsLimitsNVX createSafe(long address)
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer malloc(int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer calloc(int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(long address, int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGeneratedCommandsLimitsNVX.Buffer createSafe(long address, int capacity)
public static VkDeviceGeneratedCommandsLimitsNVX mallocStack()
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the thread-local MemoryStack.public static VkDeviceGeneratedCommandsLimitsNVX callocStack()
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGeneratedCommandsLimitsNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGeneratedCommandsLimitsNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsLimitsNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer mallocStack(int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer callocStack(int capacity)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsLimitsNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGeneratedCommandsLimitsNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsLimitsNVX.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 nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nmaxIndirectCommandsLayoutTokenCount(long struct)
maxIndirectCommandsLayoutTokenCount().public static int nmaxObjectEntryCounts(long struct)
maxObjectEntryCounts().public static int nminSequenceCountBufferOffsetAlignment(long struct)
minSequenceCountBufferOffsetAlignment().public static int nminSequenceIndexBufferOffsetAlignment(long struct)
minSequenceIndexBufferOffsetAlignment().public static int nminCommandsTokenBufferOffsetAlignment(long struct)
minCommandsTokenBufferOffsetAlignment().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nmaxIndirectCommandsLayoutTokenCount(long struct,
int value)
maxIndirectCommandsLayoutTokenCount.public static void nmaxObjectEntryCounts(long struct,
int value)
maxObjectEntryCounts.public static void nminSequenceCountBufferOffsetAlignment(long struct,
int value)
minSequenceCountBufferOffsetAlignment.public static void nminSequenceIndexBufferOffsetAlignment(long struct,
int value)
minSequenceIndexBufferOffsetAlignment.public static void nminCommandsTokenBufferOffsetAlignment(long struct,
int value)
minCommandsTokenBufferOffsetAlignment.Copyright LWJGL. All Rights Reserved. License terms.