Package org.lwjgl.vulkan
Class VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing push descriptor limits that can be supported by an implementation.Description
If the
VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV { VkStructureTypesType(); void *pNext(); uint32_tmaxGraphicsShaderGroupCount(); uint32_tmaxIndirectSequenceCount(); uint32_tmaxIndirectCommandsTokenCount(); uint32_tmaxIndirectCommandsStreamCount(); uint32_tmaxIndirectCommandsTokenOffset(); uint32_tmaxIndirectCommandsStreamStride(); uint32_tminSequencesCountBufferOffsetAlignment(); uint32_tminSequencesIndexBufferOffsetAlignment(); uint32_tminIndirectCommandsBufferOffsetAlignment(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.BufferAn array ofVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXGRAPHICSSHADERGROUPCOUNT
MAXINDIRECTCOMMANDSSTREAMCOUNT
MAXINDIRECTCOMMANDSSTREAMSTRIDE
MAXINDIRECTCOMMANDSTOKENCOUNT
MAXINDIRECTCOMMANDSTOKENOFFSET
MAXINDIRECTSEQUENCECOUNT
MININDIRECTCOMMANDSBUFFEROFFSETALIGNMENT
MINSEQUENCESCOUNTBUFFEROFFSETALIGNMENT
MINSEQUENCESINDEXBUFFEROFFSETALIGNMENT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVcalloc()Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withmemCalloc.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVcreate()Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withBufferUtils.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVcreate(long address)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance for the specified memory address.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance at the specified memory.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVcreateSafe(long address)static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVmalloc()Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withmemAlloc.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated on the specifiedMemoryStack.intmaxGraphicsShaderGroupCount()the maximum number of shader groups inVkGraphicsPipelineShaderGroupsCreateInfoNV.intmaxIndirectCommandsStreamCount()the maximum number of streams inVkIndirectCommandsLayoutCreateInfoNV.intmaxIndirectCommandsStreamStride()the maximum stream stride inVkIndirectCommandsLayoutCreateInfoNV.intmaxIndirectCommandsTokenCount()the maximum number of tokens inVkIndirectCommandsLayoutCreateInfoNV.intmaxIndirectCommandsTokenOffset()the maximum offset inVkIndirectCommandsLayoutTokenNV.intmaxIndirectSequenceCount()the maximum number of sequences inVkGeneratedCommandsInfoNVand inVkGeneratedCommandsMemoryRequirementsInfoNV.intminIndirectCommandsBufferOffsetAlignment()the minimum alignment for memory addresses used inVkIndirectCommandsStreamNV, and as preprocess buffer inVkGeneratedCommandsInfoNV.intminSequencesCountBufferOffsetAlignment()the minimum alignment for memory addresses which can be used inVkGeneratedCommandsInfoNV.intminSequencesIndexBufferOffsetAlignment()the minimum alignment for memory addresses which can be used inVkGeneratedCommandsInfoNV.static intnmaxGraphicsShaderGroupCount(long struct)Unsafe version ofmaxGraphicsShaderGroupCount().static intnmaxIndirectCommandsStreamCount(long struct)Unsafe version ofmaxIndirectCommandsStreamCount().static intnmaxIndirectCommandsStreamStride(long struct)Unsafe version ofmaxIndirectCommandsStreamStride().static intnmaxIndirectCommandsTokenCount(long struct)Unsafe version ofmaxIndirectCommandsTokenCount().static intnmaxIndirectCommandsTokenOffset(long struct)Unsafe version ofmaxIndirectCommandsTokenOffset().static intnmaxIndirectSequenceCount(long struct)Unsafe version ofmaxIndirectSequenceCount().static intnminIndirectCommandsBufferOffsetAlignment(long struct)Unsafe version ofminIndirectCommandsBufferOffsetAlignment().static intnminSequencesCountBufferOffsetAlignment(long struct)Unsafe version ofminSequencesCountBufferOffsetAlignment().static intnminSequencesIndexBufferOffsetAlignment(long struct)Unsafe version ofminSequencesIndexBufferOffsetAlignment().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()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVset(VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NVvalue to thesType()field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, MAXGRAPHICSSHADERGROUPCOUNT, MAXINDIRECTSEQUENCECOUNT, MAXINDIRECTCOMMANDSTOKENCOUNT, MAXINDIRECTCOMMANDSSTREAMCOUNT, MAXINDIRECTCOMMANDSTOKENOFFSET, MAXINDIRECTCOMMANDSSTREAMSTRIDE, MINSEQUENCESCOUNTBUFFEROFFSETALIGNMENT, MINSEQUENCESINDEXBUFFEROFFSETALIGNMENT, MININDIRECTCOMMANDSBUFFEROFFSETALIGNMENT
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
maxGraphicsShaderGroupCount
public int maxGraphicsShaderGroupCount()
the maximum number of shader groups inVkGraphicsPipelineShaderGroupsCreateInfoNV.
-
maxIndirectSequenceCount
public int maxIndirectSequenceCount()
the maximum number of sequences inVkGeneratedCommandsInfoNVand inVkGeneratedCommandsMemoryRequirementsInfoNV.
-
maxIndirectCommandsTokenCount
public int maxIndirectCommandsTokenCount()
the maximum number of tokens inVkIndirectCommandsLayoutCreateInfoNV.
-
maxIndirectCommandsStreamCount
public int maxIndirectCommandsStreamCount()
the maximum number of streams inVkIndirectCommandsLayoutCreateInfoNV.
-
maxIndirectCommandsTokenOffset
public int maxIndirectCommandsTokenOffset()
the maximum offset inVkIndirectCommandsLayoutTokenNV.
-
maxIndirectCommandsStreamStride
public int maxIndirectCommandsStreamStride()
the maximum stream stride inVkIndirectCommandsLayoutCreateInfoNV.
-
minSequencesCountBufferOffsetAlignment, minSequencesIndexBufferOffsetAlignment
public int minSequencesCountBufferOffsetAlignment() public int minSequencesIndexBufferOffsetAlignment()
the minimum alignment for memory addresses which can be used inVkGeneratedCommandsInfoNV.
-
minIndirectCommandsBufferOffsetAlignment
public int minIndirectCommandsBufferOffsetAlignment()
the minimum alignment for memory addresses used inVkIndirectCommandsStreamNV, and as preprocess buffer inVkGeneratedCommandsInfoNV.
-
sType
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NVvalue to thesType()field.
-
pNext
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV set(VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV malloc()
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV calloc()
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV create()
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV create(long address)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV createSafe(long address)
-
malloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV.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().
-
nmaxGraphicsShaderGroupCount
public static int nmaxGraphicsShaderGroupCount(long struct)
Unsafe version ofmaxGraphicsShaderGroupCount().
-
nmaxIndirectSequenceCount
public static int nmaxIndirectSequenceCount(long struct)
Unsafe version ofmaxIndirectSequenceCount().
-
nmaxIndirectCommandsTokenCount
public static int nmaxIndirectCommandsTokenCount(long struct)
Unsafe version ofmaxIndirectCommandsTokenCount().
-
nmaxIndirectCommandsStreamCount
public static int nmaxIndirectCommandsStreamCount(long struct)
Unsafe version ofmaxIndirectCommandsStreamCount().
-
nmaxIndirectCommandsTokenOffset
public static int nmaxIndirectCommandsTokenOffset(long struct)
Unsafe version ofmaxIndirectCommandsTokenOffset().
-
nmaxIndirectCommandsStreamStride
public static int nmaxIndirectCommandsStreamStride(long struct)
Unsafe version ofmaxIndirectCommandsStreamStride().
-
nminSequencesCountBufferOffsetAlignment
public static int nminSequencesCountBufferOffsetAlignment(long struct)
Unsafe version ofminSequencesCountBufferOffsetAlignment().
-
nminSequencesIndexBufferOffsetAlignment
public static int nminSequencesIndexBufferOffsetAlignment(long struct)
Unsafe version ofminSequencesIndexBufferOffsetAlignment().
-
nminIndirectCommandsBufferOffsetAlignment
public static int nminIndirectCommandsBufferOffsetAlignment(long struct)
Unsafe version ofminIndirectCommandsBufferOffsetAlignment().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-