Package org.lwjgl.vulkan
Class VkGeneratedCommandsInfoEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkGeneratedCommandsInfoEXT
extends Struct<VkGeneratedCommandsInfoEXT>
implements NativeResource
struct VkGeneratedCommandsInfoEXT {
VkStructureType sType;
void const * pNext;
VkShaderStageFlags shaderStages;
VkIndirectExecutionSetEXT indirectExecutionSet;
VkIndirectCommandsLayoutEXT indirectCommandsLayout;
VkDeviceAddress indirectAddress;
VkDeviceSize indirectAddressSize;
VkDeviceAddress preprocessAddress;
VkDeviceSize preprocessSize;
uint32_t maxSequenceCount;
VkDeviceAddress sequenceCountAddress;
uint32_t maxDrawCount;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkGeneratedCommandsInfoEXT
(ByteBuffer container) Creates aVkGeneratedCommandsInfoEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkGeneratedCommandsInfoEXT
calloc()
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGeneratedCommandsInfoEXT
calloc
(MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGeneratedCommandsInfoEXT
create()
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withBufferUtils
.static VkGeneratedCommandsInfoEXT
create
(long address) Returns a newVkGeneratedCommandsInfoEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkGeneratedCommandsInfoEXT.Buffer
instance at the specified memory.static @Nullable VkGeneratedCommandsInfoEXT
createSafe
(long address) static @Nullable VkGeneratedCommandsInfoEXT.Buffer
createSafe
(long address, int capacity) long
indirectAddress
(long value) Sets the specified value to theindirectAddress
field.long
indirectAddressSize
(long value) Sets the specified value to theindirectAddressSize
field.long
indirectCommandsLayout
(long value) Sets the specified value to theindirectCommandsLayout
field.long
indirectExecutionSet
(long value) Sets the specified value to theindirectExecutionSet
field.static VkGeneratedCommandsInfoEXT
malloc()
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkGeneratedCommandsInfoEXT
malloc
(MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT
instance allocated on the specifiedMemoryStack
.int
maxDrawCount
(int value) Sets the specified value to themaxDrawCount
field.int
maxSequenceCount
(int value) Sets the specified value to themaxSequenceCount
field.static long
nindirectAddress
(long struct) Unsafe version ofindirectAddress()
.static void
nindirectAddress
(long struct, long value) Unsafe version ofindirectAddress
.static long
nindirectAddressSize
(long struct) Unsafe version ofindirectAddressSize()
.static void
nindirectAddressSize
(long struct, long value) Unsafe version ofindirectAddressSize
.static long
nindirectCommandsLayout
(long struct) Unsafe version ofindirectCommandsLayout()
.static void
nindirectCommandsLayout
(long struct, long value) Unsafe version ofindirectCommandsLayout
.static long
nindirectExecutionSet
(long struct) Unsafe version ofindirectExecutionSet()
.static void
nindirectExecutionSet
(long struct, long value) Unsafe version ofindirectExecutionSet
.static int
nmaxDrawCount
(long struct) Unsafe version ofmaxDrawCount()
.static void
nmaxDrawCount
(long struct, int value) Unsafe version ofmaxDrawCount
.static int
nmaxSequenceCount
(long struct) Unsafe version ofmaxSequenceCount()
.static void
nmaxSequenceCount
(long struct, int value) Unsafe version ofmaxSequenceCount
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static long
npreprocessAddress
(long struct) Unsafe version ofpreprocessAddress()
.static void
npreprocessAddress
(long struct, long value) Unsafe version ofpreprocessAddress
.static long
npreprocessSize
(long struct) Unsafe version ofpreprocessSize()
.static void
npreprocessSize
(long struct, long value) Unsafe version ofpreprocessSize
.static long
nsequenceCountAddress
(long struct) Unsafe version ofsequenceCountAddress()
.static void
nsequenceCountAddress
(long struct, long value) Unsafe version ofsequenceCountAddress
.static int
nshaderStages
(long struct) Unsafe version ofshaderStages()
.static void
nshaderStages
(long struct, int value) Unsafe version ofshaderStages
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkGeneratedCommandsPipelineInfoEXT
value to thepNext
chain.Prepends the specifiedVkGeneratedCommandsShaderInfoEXT
value to thepNext
chain.long
preprocessAddress
(long value) Sets the specified value to thepreprocessAddress
field.long
preprocessSize
(long value) Sets the specified value to thepreprocessSize
field.long
sequenceCountAddress
(long value) Sets the specified value to thesequenceCountAddress
field.set
(int sType, long pNext, int shaderStages, long indirectExecutionSet, long indirectCommandsLayout, long indirectAddress, long indirectAddressSize, long preprocessAddress, long preprocessSize, int maxSequenceCount, long sequenceCountAddress, int maxDrawCount) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
shaderStages
(int value) Sets the specified value to theshaderStages
field.int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXT
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
SHADERSTAGES
public static final int SHADERSTAGESThe struct member offsets. -
INDIRECTEXECUTIONSET
public static final int INDIRECTEXECUTIONSETThe struct member offsets. -
INDIRECTCOMMANDSLAYOUT
public static final int INDIRECTCOMMANDSLAYOUTThe struct member offsets. -
INDIRECTADDRESS
public static final int INDIRECTADDRESSThe struct member offsets. -
INDIRECTADDRESSSIZE
public static final int INDIRECTADDRESSSIZEThe struct member offsets. -
PREPROCESSADDRESS
public static final int PREPROCESSADDRESSThe struct member offsets. -
PREPROCESSSIZE
public static final int PREPROCESSSIZEThe struct member offsets. -
MAXSEQUENCECOUNT
public static final int MAXSEQUENCECOUNTThe struct member offsets. -
SEQUENCECOUNTADDRESS
public static final int SEQUENCECOUNTADDRESSThe struct member offsets. -
MAXDRAWCOUNT
public static final int MAXDRAWCOUNTThe struct member offsets.
-
-
Constructor Details
-
VkGeneratedCommandsInfoEXT
Creates aVkGeneratedCommandsInfoEXT
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkGeneratedCommandsInfoEXT>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
shaderStages
public int shaderStages()- Returns:
- the value of the
shaderStages
field.
-
indirectExecutionSet
public long indirectExecutionSet()- Returns:
- the value of the
indirectExecutionSet
field.
-
indirectCommandsLayout
public long indirectCommandsLayout()- Returns:
- the value of the
indirectCommandsLayout
field.
-
indirectAddress
public long indirectAddress()- Returns:
- the value of the
indirectAddress
field.
-
indirectAddressSize
public long indirectAddressSize()- Returns:
- the value of the
indirectAddressSize
field.
-
preprocessAddress
public long preprocessAddress()- Returns:
- the value of the
preprocessAddress
field.
-
preprocessSize
public long preprocessSize()- Returns:
- the value of the
preprocessSize
field.
-
maxSequenceCount
public int maxSequenceCount()- Returns:
- the value of the
maxSequenceCount
field.
-
sequenceCountAddress
public long sequenceCountAddress()- Returns:
- the value of the
sequenceCountAddress
field.
-
maxDrawCount
public int maxDrawCount()- Returns:
- the value of the
maxDrawCount
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXT
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkGeneratedCommandsPipelineInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkGeneratedCommandsShaderInfoEXT
value to thepNext
chain. -
shaderStages
Sets the specified value to theshaderStages
field. -
indirectExecutionSet
Sets the specified value to theindirectExecutionSet
field. -
indirectCommandsLayout
Sets the specified value to theindirectCommandsLayout
field. -
indirectAddress
Sets the specified value to theindirectAddress
field. -
indirectAddressSize
Sets the specified value to theindirectAddressSize
field. -
preprocessAddress
Sets the specified value to thepreprocessAddress
field. -
preprocessSize
Sets the specified value to thepreprocessSize
field. -
maxSequenceCount
Sets the specified value to themaxSequenceCount
field. -
sequenceCountAddress
Sets the specified value to thesequenceCountAddress
field. -
maxDrawCount
Sets the specified value to themaxDrawCount
field. -
set
public VkGeneratedCommandsInfoEXT set(int sType, long pNext, int shaderStages, long indirectExecutionSet, long indirectCommandsLayout, long indirectAddress, long indirectAddressSize, long preprocessAddress, long preprocessSize, int maxSequenceCount, long sequenceCountAddress, int maxDrawCount) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkGeneratedCommandsInfoEXT
instance allocated withBufferUtils
. -
create
Returns a newVkGeneratedCommandsInfoEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkGeneratedCommandsInfoEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkGeneratedCommandsInfoEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkGeneratedCommandsInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkGeneratedCommandsInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType()
. -
npNext
public static long npNext(long struct) Unsafe version ofpNext()
. -
nshaderStages
public static int nshaderStages(long struct) Unsafe version ofshaderStages()
. -
nindirectExecutionSet
public static long nindirectExecutionSet(long struct) Unsafe version ofindirectExecutionSet()
. -
nindirectCommandsLayout
public static long nindirectCommandsLayout(long struct) Unsafe version ofindirectCommandsLayout()
. -
nindirectAddress
public static long nindirectAddress(long struct) Unsafe version ofindirectAddress()
. -
nindirectAddressSize
public static long nindirectAddressSize(long struct) Unsafe version ofindirectAddressSize()
. -
npreprocessAddress
public static long npreprocessAddress(long struct) Unsafe version ofpreprocessAddress()
. -
npreprocessSize
public static long npreprocessSize(long struct) Unsafe version ofpreprocessSize()
. -
nmaxSequenceCount
public static int nmaxSequenceCount(long struct) Unsafe version ofmaxSequenceCount()
. -
nsequenceCountAddress
public static long nsequenceCountAddress(long struct) Unsafe version ofsequenceCountAddress()
. -
nmaxDrawCount
public static int nmaxDrawCount(long struct) Unsafe version ofmaxDrawCount()
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
. -
nshaderStages
public static void nshaderStages(long struct, int value) Unsafe version ofshaderStages
. -
nindirectExecutionSet
public static void nindirectExecutionSet(long struct, long value) Unsafe version ofindirectExecutionSet
. -
nindirectCommandsLayout
public static void nindirectCommandsLayout(long struct, long value) Unsafe version ofindirectCommandsLayout
. -
nindirectAddress
public static void nindirectAddress(long struct, long value) Unsafe version ofindirectAddress
. -
nindirectAddressSize
public static void nindirectAddressSize(long struct, long value) Unsafe version ofindirectAddressSize
. -
npreprocessAddress
public static void npreprocessAddress(long struct, long value) Unsafe version ofpreprocessAddress
. -
npreprocessSize
public static void npreprocessSize(long struct, long value) Unsafe version ofpreprocessSize
. -
nmaxSequenceCount
public static void nmaxSequenceCount(long struct, int value) Unsafe version ofmaxSequenceCount
. -
nsequenceCountAddress
public static void nsequenceCountAddress(long struct, long value) Unsafe version ofsequenceCountAddress
. -
nmaxDrawCount
public static void nmaxDrawCount(long struct, int value) Unsafe version ofmaxDrawCount
.
-