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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe 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 aVkGeneratedCommandsInfoEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkGeneratedCommandsInfoEXTcalloc()Returns a newVkGeneratedCommandsInfoEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGeneratedCommandsInfoEXTcalloc(MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGeneratedCommandsInfoEXTcreate()Returns a newVkGeneratedCommandsInfoEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withBufferUtils.static VkGeneratedCommandsInfoEXTcreate(long address) Returns a newVkGeneratedCommandsInfoEXTinstance for the specified memory address.create(long address, int capacity) Create aVkGeneratedCommandsInfoEXT.Bufferinstance at the specified memory.static @Nullable VkGeneratedCommandsInfoEXTcreateSafe(long address) static @Nullable VkGeneratedCommandsInfoEXT.BuffercreateSafe(long address, int capacity) longindirectAddress(long value) Sets the specified value to theindirectAddressfield.longindirectAddressSize(long value) Sets the specified value to theindirectAddressSizefield.longindirectCommandsLayout(long value) Sets the specified value to theindirectCommandsLayoutfield.longindirectExecutionSet(long value) Sets the specified value to theindirectExecutionSetfield.static VkGeneratedCommandsInfoEXTmalloc()Returns a newVkGeneratedCommandsInfoEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkGeneratedCommandsInfoEXTmalloc(MemoryStack stack) Returns a newVkGeneratedCommandsInfoEXTinstance allocated on the specifiedMemoryStack.intmaxDrawCount(int value) Sets the specified value to themaxDrawCountfield.intmaxSequenceCount(int value) Sets the specified value to themaxSequenceCountfield.static longnindirectAddress(long struct) Unsafe version ofindirectAddress().static voidnindirectAddress(long struct, long value) Unsafe version ofindirectAddress.static longnindirectAddressSize(long struct) Unsafe version ofindirectAddressSize().static voidnindirectAddressSize(long struct, long value) Unsafe version ofindirectAddressSize.static longnindirectCommandsLayout(long struct) Unsafe version ofindirectCommandsLayout().static voidnindirectCommandsLayout(long struct, long value) Unsafe version ofindirectCommandsLayout.static longnindirectExecutionSet(long struct) Unsafe version ofindirectExecutionSet().static voidnindirectExecutionSet(long struct, long value) Unsafe version ofindirectExecutionSet.static intnmaxDrawCount(long struct) Unsafe version ofmaxDrawCount().static voidnmaxDrawCount(long struct, int value) Unsafe version ofmaxDrawCount.static intnmaxSequenceCount(long struct) Unsafe version ofmaxSequenceCount().static voidnmaxSequenceCount(long struct, int value) Unsafe version ofmaxSequenceCount.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static longnpreprocessAddress(long struct) Unsafe version ofpreprocessAddress().static voidnpreprocessAddress(long struct, long value) Unsafe version ofpreprocessAddress.static longnpreprocessSize(long struct) Unsafe version ofpreprocessSize().static voidnpreprocessSize(long struct, long value) Unsafe version ofpreprocessSize.static longnsequenceCountAddress(long struct) Unsafe version ofsequenceCountAddress().static voidnsequenceCountAddress(long struct, long value) Unsafe version ofsequenceCountAddress.static intnshaderStages(long struct) Unsafe version ofshaderStages().static voidnshaderStages(long struct, int value) Unsafe version ofshaderStages.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkGeneratedCommandsPipelineInfoEXTvalue to thepNextchain.Prepends the specifiedVkGeneratedCommandsShaderInfoEXTvalue to thepNextchain.longpreprocessAddress(long value) Sets the specified value to thepreprocessAddressfield.longpreprocessSize(long value) Sets the specified value to thepreprocessSizefield.longsequenceCountAddress(long value) Sets the specified value to thesequenceCountAddressfield.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.intshaderStages(int value) Sets the specified value to theshaderStagesfield.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXTvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkGeneratedCommandsInfoEXTinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkGeneratedCommandsInfoEXT>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
shaderStages
public int shaderStages()- Returns:
- the value of the
shaderStagesfield.
-
indirectExecutionSet
public long indirectExecutionSet()- Returns:
- the value of the
indirectExecutionSetfield.
-
indirectCommandsLayout
public long indirectCommandsLayout()- Returns:
- the value of the
indirectCommandsLayoutfield.
-
indirectAddress
public long indirectAddress()- Returns:
- the value of the
indirectAddressfield.
-
indirectAddressSize
public long indirectAddressSize()- Returns:
- the value of the
indirectAddressSizefield.
-
preprocessAddress
public long preprocessAddress()- Returns:
- the value of the
preprocessAddressfield.
-
preprocessSize
public long preprocessSize()- Returns:
- the value of the
preprocessSizefield.
-
maxSequenceCount
public int maxSequenceCount()- Returns:
- the value of the
maxSequenceCountfield.
-
sequenceCountAddress
public long sequenceCountAddress()- Returns:
- the value of the
sequenceCountAddressfield.
-
maxDrawCount
public int maxDrawCount()- Returns:
- the value of the
maxDrawCountfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXTvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkGeneratedCommandsPipelineInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkGeneratedCommandsShaderInfoEXTvalue to thepNextchain. -
shaderStages
Sets the specified value to theshaderStagesfield. -
indirectExecutionSet
Sets the specified value to theindirectExecutionSetfield. -
indirectCommandsLayout
Sets the specified value to theindirectCommandsLayoutfield. -
indirectAddress
Sets the specified value to theindirectAddressfield. -
indirectAddressSize
Sets the specified value to theindirectAddressSizefield. -
preprocessAddress
Sets the specified value to thepreprocessAddressfield. -
preprocessSize
Sets the specified value to thepreprocessSizefield. -
maxSequenceCount
Sets the specified value to themaxSequenceCountfield. -
sequenceCountAddress
Sets the specified value to thesequenceCountAddressfield. -
maxDrawCount
Sets the specified value to themaxDrawCountfield. -
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 newVkGeneratedCommandsInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkGeneratedCommandsInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkGeneratedCommandsInfoEXTinstance allocated withBufferUtils. -
create
Returns a newVkGeneratedCommandsInfoEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkGeneratedCommandsInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkGeneratedCommandsInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkGeneratedCommandsInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkGeneratedCommandsInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand 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.
-