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.NativeResourceStructure specifying physical device limits.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVXpNextmust beNULL
See Also
GetPhysicalDeviceGeneratedCommandsPropertiesNVXMember documentation
sType– the type of this structure.pNext–NULLor 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 classVkDeviceGeneratedCommandsLimitsNVX.BufferAn array ofVkDeviceGeneratedCommandsLimitsNVXstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT
MAXOBJECTENTRYCOUNTS
MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT
MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT
MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceGeneratedCommandsLimitsNVX(java.nio.ByteBuffer container)Creates aVkDeviceGeneratedCommandsLimitsNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGeneratedCommandsLimitsNVXcalloc()Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withmemCalloc.static VkDeviceGeneratedCommandsLimitsNVX.Buffercalloc(int capacity)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withmemCalloc.static VkDeviceGeneratedCommandsLimitsNVXcallocStack()Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX.BuffercallocStack(int capacity)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsLimitsNVXcreate()Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withBufferUtils.static VkDeviceGeneratedCommandsLimitsNVX.Buffercreate(int capacity)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withBufferUtils.static VkDeviceGeneratedCommandsLimitsNVXcreate(long address)Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance for the specified memory address.static VkDeviceGeneratedCommandsLimitsNVX.Buffercreate(long address, int capacity)Create aVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance at the specified memory.static VkDeviceGeneratedCommandsLimitsNVXcreateSafe(long address)static VkDeviceGeneratedCommandsLimitsNVX.BuffercreateSafe(long address, int capacity)static VkDeviceGeneratedCommandsLimitsNVXmalloc()Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withmemAlloc.static VkDeviceGeneratedCommandsLimitsNVX.Buffermalloc(int capacity)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withmemAlloc.static VkDeviceGeneratedCommandsLimitsNVXmallocStack()Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the thread-localMemoryStack.static VkDeviceGeneratedCommandsLimitsNVX.BuffermallocStack(int capacity)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceGeneratedCommandsLimitsNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGeneratedCommandsLimitsNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the specifiedMemoryStack.intmaxIndirectCommandsLayoutTokenCount()Returns the value of themaxIndirectCommandsLayoutTokenCountfield.VkDeviceGeneratedCommandsLimitsNVXmaxIndirectCommandsLayoutTokenCount(int value)Sets the specified value to themaxIndirectCommandsLayoutTokenCountfield.intmaxObjectEntryCounts()Returns the value of themaxObjectEntryCountsfield.VkDeviceGeneratedCommandsLimitsNVXmaxObjectEntryCounts(int value)Sets the specified value to themaxObjectEntryCountsfield.intminCommandsTokenBufferOffsetAlignment()Returns the value of theminCommandsTokenBufferOffsetAlignmentfield.VkDeviceGeneratedCommandsLimitsNVXminCommandsTokenBufferOffsetAlignment(int value)Sets the specified value to theminCommandsTokenBufferOffsetAlignmentfield.intminSequenceCountBufferOffsetAlignment()Returns the value of theminSequenceCountBufferOffsetAlignmentfield.VkDeviceGeneratedCommandsLimitsNVXminSequenceCountBufferOffsetAlignment(int value)Sets the specified value to theminSequenceCountBufferOffsetAlignmentfield.intminSequenceIndexBufferOffsetAlignment()Returns the value of theminSequenceIndexBufferOffsetAlignmentfield.VkDeviceGeneratedCommandsLimitsNVXminSequenceIndexBufferOffsetAlignment(int value)Sets the specified value to theminSequenceIndexBufferOffsetAlignmentfield.static intnmaxIndirectCommandsLayoutTokenCount(long struct)Unsafe version ofmaxIndirectCommandsLayoutTokenCount().static voidnmaxIndirectCommandsLayoutTokenCount(long struct, int value)Unsafe version ofmaxIndirectCommandsLayoutTokenCount.static intnmaxObjectEntryCounts(long struct)Unsafe version ofmaxObjectEntryCounts().static voidnmaxObjectEntryCounts(long struct, int value)Unsafe version ofmaxObjectEntryCounts.static intnminCommandsTokenBufferOffsetAlignment(long struct)Unsafe version ofminCommandsTokenBufferOffsetAlignment().static voidnminCommandsTokenBufferOffsetAlignment(long struct, int value)Unsafe version ofminCommandsTokenBufferOffsetAlignment.static intnminSequenceCountBufferOffsetAlignment(long struct)Unsafe version ofminSequenceCountBufferOffsetAlignment().static voidnminSequenceCountBufferOffsetAlignment(long struct, int value)Unsafe version ofminSequenceCountBufferOffsetAlignment.static intnminSequenceIndexBufferOffsetAlignment(long struct)Unsafe version ofminSequenceIndexBufferOffsetAlignment().static voidnminSequenceIndexBufferOffsetAlignment(long struct, int value)Unsafe version ofminSequenceIndexBufferOffsetAlignment.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkDeviceGeneratedCommandsLimitsNVXpNext(long value)Sets the specified value to thepNextfield.VkDeviceGeneratedCommandsLimitsNVXset(int sType, long pNext, int maxIndirectCommandsLayoutTokenCount, int maxObjectEntryCounts, int minSequenceCountBufferOffsetAlignment, int minSequenceIndexBufferOffsetAlignment, int minCommandsTokenBufferOffsetAlignment)Initializes this struct with the specified values.VkDeviceGeneratedCommandsLimitsNVXset(VkDeviceGeneratedCommandsLimitsNVX src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkDeviceGeneratedCommandsLimitsNVXsType(int value)Sets the specified value to thesTypefield.
-
-
-
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 aVkDeviceGeneratedCommandsLimitsNVXinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
maxIndirectCommandsLayoutTokenCount
public int maxIndirectCommandsLayoutTokenCount()
Returns the value of themaxIndirectCommandsLayoutTokenCountfield.
-
maxObjectEntryCounts
public int maxObjectEntryCounts()
Returns the value of themaxObjectEntryCountsfield.
-
minSequenceCountBufferOffsetAlignment
public int minSequenceCountBufferOffsetAlignment()
Returns the value of theminSequenceCountBufferOffsetAlignmentfield.
-
minSequenceIndexBufferOffsetAlignment
public int minSequenceIndexBufferOffsetAlignment()
Returns the value of theminSequenceIndexBufferOffsetAlignmentfield.
-
minCommandsTokenBufferOffsetAlignment
public int minCommandsTokenBufferOffsetAlignment()
Returns the value of theminCommandsTokenBufferOffsetAlignmentfield.
-
sType
public VkDeviceGeneratedCommandsLimitsNVX sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDeviceGeneratedCommandsLimitsNVX pNext(long value)
Sets the specified value to thepNextfield.
-
maxIndirectCommandsLayoutTokenCount
public VkDeviceGeneratedCommandsLimitsNVX maxIndirectCommandsLayoutTokenCount(int value)
Sets the specified value to themaxIndirectCommandsLayoutTokenCountfield.
-
maxObjectEntryCounts
public VkDeviceGeneratedCommandsLimitsNVX maxObjectEntryCounts(int value)
Sets the specified value to themaxObjectEntryCountsfield.
-
minSequenceCountBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minSequenceCountBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceCountBufferOffsetAlignmentfield.
-
minSequenceIndexBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minSequenceIndexBufferOffsetAlignment(int value)
Sets the specified value to theminSequenceIndexBufferOffsetAlignmentfield.
-
minCommandsTokenBufferOffsetAlignment
public VkDeviceGeneratedCommandsLimitsNVX minCommandsTokenBufferOffsetAlignment(int value)
Sets the specified value to theminCommandsTokenBufferOffsetAlignmentfield.
-
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 newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceGeneratedCommandsLimitsNVX calloc()
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceGeneratedCommandsLimitsNVX create()
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated withBufferUtils.
-
create
public static VkDeviceGeneratedCommandsLimitsNVX create(long address)
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGeneratedCommandsLimitsNVX createSafe(long address)
-
malloc
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer malloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer calloc(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer create(long address, int capacity)
Create aVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance 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 newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX callocStack()
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceGeneratedCommandsLimitsNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsLimitsNVXinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceGeneratedCommandsLimitsNVX.Buffer callocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsLimitsNVX.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-