Package org.lwjgl.vulkan
Class VkDeviceGeneratedCommandsLimitsNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGeneratedCommandsLimitsNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceGeneratedCommandsLimitsNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure specifying physical device limits.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX
pNext
must beNULL
See Also
GetPhysicalDeviceGeneratedCommandsPropertiesNVX
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.maxIndirectCommandsLayoutTokenCount
– the maximum number of tokens inVkIndirectCommandsLayoutNVX
.maxObjectEntryCounts
– the maximum number of entries per resource type inVkObjectTableNVX
.minSequenceCountBufferOffsetAlignment
– the minimum alignment for memory addresses optionally used invkCmdProcessCommandsNVX
.minSequenceIndexBufferOffsetAlignment
– the minimum alignment for memory addresses optionally used invkCmdProcessCommandsNVX
.minCommandsTokenBufferOffsetAlignment
– the minimum alignment for memory addresses optionally used invkCmdProcessCommandsNVX
.
Layout
struct VkDeviceGeneratedCommandsLimitsNVX { VkStructureType sType; void const * pNext; uint32_t maxIndirectCommandsLayoutTokenCount; uint32_t maxObjectEntryCounts; uint32_t minSequenceCountBufferOffsetAlignment; uint32_t minSequenceIndexBufferOffsetAlignment; uint32_t minCommandsTokenBufferOffsetAlignment; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceGeneratedCommandsLimitsNVX.Buffer
An array ofVkDeviceGeneratedCommandsLimitsNVX
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
MAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT
MAXOBJECTENTRYCOUNTS
MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT
MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT
MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceGeneratedCommandsLimitsNVX(java.nio.ByteBuffer container)
Creates aVkDeviceGeneratedCommandsLimitsNVX
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGeneratedCommandsLimitsNVX
calloc()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withmemCalloc
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
calloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withmemCalloc
.static VkDeviceGeneratedCommandsLimitsNVX
callocStack()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
callocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX
create()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withBufferUtils
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
create(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withBufferUtils
.static VkDeviceGeneratedCommandsLimitsNVX
create(long address)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance for the specified memory address.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
create(long address, int capacity)
Create aVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance at the specified memory.static VkDeviceGeneratedCommandsLimitsNVX
createSafe(long address)
static VkDeviceGeneratedCommandsLimitsNVX.Buffer
createSafe(long address, int capacity)
static VkDeviceGeneratedCommandsLimitsNVX
malloc()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withmemAlloc
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
malloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withmemAlloc
.static VkDeviceGeneratedCommandsLimitsNVX
mallocStack()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the thread-localMemoryStack
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
mallocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGeneratedCommandsLimitsNVX
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the specifiedMemoryStack
.int
maxIndirectCommandsLayoutTokenCount()
Returns the value of themaxIndirectCommandsLayoutTokenCount
field.VkDeviceGeneratedCommandsLimitsNVX
maxIndirectCommandsLayoutTokenCount(int value)
Sets the specified value to themaxIndirectCommandsLayoutTokenCount
field.int
maxObjectEntryCounts()
Returns the value of themaxObjectEntryCounts
field.VkDeviceGeneratedCommandsLimitsNVX
maxObjectEntryCounts(int value)
Sets the specified value to themaxObjectEntryCounts
field.int
minCommandsTokenBufferOffsetAlignment()
Returns the value of theminCommandsTokenBufferOffsetAlignment
field.VkDeviceGeneratedCommandsLimitsNVX
minCommandsTokenBufferOffsetAlignment(int value)
Sets the specified value to theminCommandsTokenBufferOffsetAlignment
field.int
minSequenceCountBufferOffsetAlignment()
Returns the value of theminSequenceCountBufferOffsetAlignment
field.VkDeviceGeneratedCommandsLimitsNVX
minSequenceCountBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceCountBufferOffsetAlignment
field.int
minSequenceIndexBufferOffsetAlignment()
Returns the value of theminSequenceIndexBufferOffsetAlignment
field.VkDeviceGeneratedCommandsLimitsNVX
minSequenceIndexBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceIndexBufferOffsetAlignment
field.static int
nmaxIndirectCommandsLayoutTokenCount(long struct)
Unsafe version ofmaxIndirectCommandsLayoutTokenCount()
.static void
nmaxIndirectCommandsLayoutTokenCount(long struct, int value)
Unsafe version ofmaxIndirectCommandsLayoutTokenCount
.static int
nmaxObjectEntryCounts(long struct)
Unsafe version ofmaxObjectEntryCounts()
.static void
nmaxObjectEntryCounts(long struct, int value)
Unsafe version ofmaxObjectEntryCounts
.static int
nminCommandsTokenBufferOffsetAlignment(long struct)
Unsafe version ofminCommandsTokenBufferOffsetAlignment()
.static void
nminCommandsTokenBufferOffsetAlignment(long struct, int value)
Unsafe version ofminCommandsTokenBufferOffsetAlignment
.static int
nminSequenceCountBufferOffsetAlignment(long struct)
Unsafe version ofminSequenceCountBufferOffsetAlignment()
.static void
nminSequenceCountBufferOffsetAlignment(long struct, int value)
Unsafe version ofminSequenceCountBufferOffsetAlignment
.static int
nminSequenceIndexBufferOffsetAlignment(long struct)
Unsafe version ofminSequenceIndexBufferOffsetAlignment()
.static void
nminSequenceIndexBufferOffsetAlignment(long struct, int value)
Unsafe version ofminSequenceIndexBufferOffsetAlignment
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkDeviceGeneratedCommandsLimitsNVX
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkDeviceGeneratedCommandsLimitsNVX
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, MAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT, MAXOBJECTENTRYCOUNTS, MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT, MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT, MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT
The struct member offsets.
-
-
Constructor Detail
-
VkDeviceGeneratedCommandsLimitsNVX
public VkDeviceGeneratedCommandsLimitsNVX(java.nio.ByteBuffer container)
Creates aVkDeviceGeneratedCommandsLimitsNVX
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
maxIndirectCommandsLayoutTokenCount
public int maxIndirectCommandsLayoutTokenCount()
Returns the value of themaxIndirectCommandsLayoutTokenCount
field.
-
maxObjectEntryCounts
public int maxObjectEntryCounts()
Returns the value of themaxObjectEntryCounts
field.
-
minSequenceCountBufferOffsetAlignment
public int minSequenceCountBufferOffsetAlignment()
Returns the value of theminSequenceCountBufferOffsetAlignment
field.
-
minSequenceIndexBufferOffsetAlignment
public int minSequenceIndexBufferOffsetAlignment()
Returns the value of theminSequenceIndexBufferOffsetAlignment
field.
-
minCommandsTokenBufferOffsetAlignment
public int minCommandsTokenBufferOffsetAlignment()
Returns the value of theminCommandsTokenBufferOffsetAlignment
field.
-
sType
public VkDeviceGeneratedCommandsLimitsNVX sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDeviceGeneratedCommandsLimitsNVX pNext(long value)
Sets the specified value to thepNext
field.
-
maxIndirectCommandsLayoutTokenCount
public VkDeviceGeneratedCommandsLimitsNVX maxIndirectCommandsLayoutTokenCount(int value)
Sets the specified value to themaxIndirectCommandsLayoutTokenCount
field.
-
maxObjectEntryCounts
public VkDeviceGeneratedCommandsLimitsNVX maxObjectEntryCounts(int value)
Sets the specified value to themaxObjectEntryCounts
field.
-
minSequenceCountBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minSequenceCountBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceCountBufferOffsetAlignment
field.
-
minSequenceIndexBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minSequenceIndexBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceIndexBufferOffsetAlignment
field.
-
minCommandsTokenBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minCommandsTokenBufferOffsetAlignment(int value)
Sets the specified value to theminCommandsTokenBufferOffsetAlignment
field.
-
set
public VkDeviceGeneratedCommandsLimitsNVX set(int sType, long pNext, int maxIndirectCommandsLayoutTokenCount, int maxObjectEntryCounts, int minSequenceCountBufferOffsetAlignment, int minSequenceIndexBufferOffsetAlignment, int minCommandsTokenBufferOffsetAlignment)
Initializes this struct with the specified values.
-
set
public VkDeviceGeneratedCommandsLimitsNVX set(VkDeviceGeneratedCommandsLimitsNVX src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGeneratedCommandsLimitsNVX malloc()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceGeneratedCommandsLimitsNVX calloc()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceGeneratedCommandsLimitsNVX create()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated withBufferUtils
.
-
create
public static VkDeviceGeneratedCommandsLimitsNVX create(long address)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGeneratedCommandsLimitsNVX createSafe(long address)
-
malloc
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer malloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer calloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(long address, int capacity)
Create aVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGeneratedCommandsLimitsNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGeneratedCommandsLimitsNVX mallocStack()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX callocStack()
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceGeneratedCommandsLimitsNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer mallocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer callocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nmaxIndirectCommandsLayoutTokenCount
public static int nmaxIndirectCommandsLayoutTokenCount(long struct)
Unsafe version ofmaxIndirectCommandsLayoutTokenCount()
.
-
nmaxObjectEntryCounts
public static int nmaxObjectEntryCounts(long struct)
Unsafe version ofmaxObjectEntryCounts()
.
-
nminSequenceCountBufferOffsetAlignment
public static int nminSequenceCountBufferOffsetAlignment(long struct)
Unsafe version ofminSequenceCountBufferOffsetAlignment()
.
-
nminSequenceIndexBufferOffsetAlignment
public static int nminSequenceIndexBufferOffsetAlignment(long struct)
Unsafe version ofminSequenceIndexBufferOffsetAlignment()
.
-
nminCommandsTokenBufferOffsetAlignment
public static int nminCommandsTokenBufferOffsetAlignment(long struct)
Unsafe version ofminCommandsTokenBufferOffsetAlignment()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nmaxIndirectCommandsLayoutTokenCount
public static void nmaxIndirectCommandsLayoutTokenCount(long struct, int value)
Unsafe version ofmaxIndirectCommandsLayoutTokenCount
.
-
nmaxObjectEntryCounts
public static void nmaxObjectEntryCounts(long struct, int value)
Unsafe version ofmaxObjectEntryCounts
.
-
nminSequenceCountBufferOffsetAlignment
public static void nminSequenceCountBufferOffsetAlignment(long struct, int value)
Unsafe version ofminSequenceCountBufferOffsetAlignment
.
-
nminSequenceIndexBufferOffsetAlignment
public static void nminSequenceIndexBufferOffsetAlignment(long struct, int value)
Unsafe version ofminSequenceIndexBufferOffsetAlignment
.
-
nminCommandsTokenBufferOffsetAlignment
public static void nminCommandsTokenBufferOffsetAlignment(long struct, int value)
Unsafe version ofminCommandsTokenBufferOffsetAlignment
.
-
-