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 inCmdProcessCommandsNVX
.minSequenceIndexBufferOffsetAlignment
– the minimum alignment for memory addresses optionally used inCmdProcessCommandsNVX
.minCommandsTokenBufferOffsetAlignment
– the minimum alignment for memory addresses optionally used inCmdProcessCommandsNVX
.
Layout
struct VkDeviceGeneratedCommandsLimitsNVX { VkStructureType sType; const void * 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 and Description static class
VkDeviceGeneratedCommandsLimitsNVX.Buffer
An array ofVkDeviceGeneratedCommandsLimitsNVX
structs.
-
Field Summary
Fields Modifier and Type Field and Description static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor and 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 and 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 ornull
if the address isNULL
.static VkDeviceGeneratedCommandsLimitsNVX.Buffer
create(long address, int capacity)
Create aVkDeviceGeneratedCommandsLimitsNVX.Buffer
instance at the specified memory.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.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()
Returnssizeof(struct)
.int
sType()
Returns the value of thesType
field.VkDeviceGeneratedCommandsLimitsNVX
sType(int value)
Sets the specified value to thesType
field.
-
-
-
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()
Description copied from class:org.lwjgl.system.Struct
Returnssizeof(struct)
.- 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 ornull
if the address isNULL
.
-
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
-
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
-
-