Package org.lwjgl.vulkan
Class VkPhysicalDeviceMeshShaderPropertiesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceMeshShaderPropertiesEXT>
org.lwjgl.vulkan.VkPhysicalDeviceMeshShaderPropertiesEXT
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceMeshShaderPropertiesEXT
extends org.lwjgl.system.Struct<VkPhysicalDeviceMeshShaderPropertiesEXT>
implements org.lwjgl.system.NativeResource
Structure describing mesh shading properties.
Description
If the VkPhysicalDeviceMeshShaderPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceMeshShaderPropertiesEXT {
VkStructureType sType();
void * pNext();
uint32_t maxTaskWorkGroupTotalCount();
uint32_t maxTaskWorkGroupCount()[3];
uint32_t maxTaskWorkGroupInvocations();
uint32_t maxTaskWorkGroupSize()[3];
uint32_t maxTaskPayloadSize();
uint32_t maxTaskSharedMemorySize();
uint32_t maxTaskPayloadAndSharedMemorySize();
uint32_t maxMeshWorkGroupTotalCount();
uint32_t maxMeshWorkGroupCount()[3];
uint32_t maxMeshWorkGroupInvocations();
uint32_t maxMeshWorkGroupSize()[3];
uint32_t maxMeshSharedMemorySize();
uint32_t maxMeshPayloadAndSharedMemorySize();
uint32_t maxMeshOutputMemorySize();
uint32_t maxMeshPayloadAndOutputMemorySize();
uint32_t maxMeshOutputComponents();
uint32_t maxMeshOutputVertices();
uint32_t maxMeshOutputPrimitives();
uint32_t maxMeshOutputLayers();
uint32_t maxMeshMultiviewViewCount();
uint32_t meshOutputPerVertexGranularity();
uint32_t meshOutputPerPrimitiveGranularity();
uint32_t maxPreferredTaskWorkGroupInvocations();
uint32_t maxPreferredMeshWorkGroupInvocations();
VkBool32 prefersLocalInvocationVertexOutput();
VkBool32 prefersLocalInvocationPrimitiveOutput();
VkBool32 prefersCompactVertexOutput();
VkBool32 prefersCompactPrimitiveOutput();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceMeshShaderPropertiesEXTstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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 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 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
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceMeshShaderPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceMeshShaderPropertiesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceMeshShaderPropertiesEXT.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated on the specifiedMemoryStack.intone greater than the maximum view index that can be used by any mesh shader.intthe maximum number of components of output variables which can be output from the mesh shader stage.intone greater than the maximum layer index that can be output from the mesh shader stage.intthe maximum total storage size, in bytes, available for output variables in shader modules in the mesh shader stage, according to the formula in Mesh Shader Output.intthe maximum number of primitives which can be emitted by a single mesh shader workgroup.intthe maximum number of vertices which can be emitted by a single mesh shader workgroup.intthe maximum total storage size, in bytes, available for variables that are declared with theTaskPayloadWorkgroupEXTstorage class, or output variables in shader modules in the mesh shader stage, according to the formula in Mesh Shader Output.intthe maximum total storage size, in bytes, available for variables that are declared with theTaskPayloadWorkgroupEXTorWorkgroupstorage class in shader modules in the mesh shader stage.intthe maximum total storage size, in bytes, available for variables declared with theWorkgroupstorage class in shader modules in the mesh shader stage.the maximum number of local output tasks a single task shader workgroup can emit, per dimension.intmaxMeshWorkGroupCount(int index) the maximum number of local output tasks a single task shader workgroup can emit, per dimension.intthe maximum total number of mesh shader invocations in a single local workgroup.the maximum size of a local mesh workgroup, per dimension.intmaxMeshWorkGroupSize(int index) the maximum size of a local mesh workgroup, per dimension.intthe maximum number of local output tasks a single task shader workgroup can emit.intthe maximum number of mesh shader invocations in a single workgroup that is preferred by the implementation for optimal performance.intthe maximum number of task shader invocations in a single workgroup that is preferred by the implementation for optimal performance.intthe maximum total storage size, in bytes, available for variables that are declared with theTaskPayloadWorkgroupEXTorWorkgroupstorage class, in shader modules in the task shader stage.intthe maximum total storage size, in bytes, available for variables declared with theTaskPayloadWorkgroupEXTstorage class in shader modules in the task shader stage.intthe maximum total storage size, in bytes, available for variables declared with theWorkgroupstorage class in shader modules in the task shader stage.the maximum number of local workgroups that can be launched by a single mesh tasks drawing command.intmaxTaskWorkGroupCount(int index) the maximum number of local workgroups that can be launched by a single mesh tasks drawing command.intthe maximum total number of task shader invocations in a single local workgroup.the maximum size of a local task workgroup, per dimension.intmaxTaskWorkGroupSize(int index) the maximum size of a local task workgroup, per dimension.intthe maximum number of total local workgroups that can be launched by a single mesh tasks drawing command.intthe granularity of primitive allocation.intthe granularity of vertex allocation.static intnmaxMeshMultiviewViewCount(long struct) Unsafe version ofmaxMeshMultiviewViewCount().static intnmaxMeshOutputComponents(long struct) Unsafe version ofmaxMeshOutputComponents().static intnmaxMeshOutputLayers(long struct) Unsafe version ofmaxMeshOutputLayers().static intnmaxMeshOutputMemorySize(long struct) Unsafe version ofmaxMeshOutputMemorySize().static intnmaxMeshOutputPrimitives(long struct) Unsafe version ofmaxMeshOutputPrimitives().static intnmaxMeshOutputVertices(long struct) Unsafe version ofmaxMeshOutputVertices().static intnmaxMeshPayloadAndOutputMemorySize(long struct) Unsafe version ofmaxMeshPayloadAndOutputMemorySize().static intnmaxMeshPayloadAndSharedMemorySize(long struct) Unsafe version ofmaxMeshPayloadAndSharedMemorySize().static intnmaxMeshSharedMemorySize(long struct) Unsafe version ofmaxMeshSharedMemorySize().static IntBuffernmaxMeshWorkGroupCount(long struct) Unsafe version ofmaxMeshWorkGroupCount().static intnmaxMeshWorkGroupCount(long struct, int index) Unsafe version ofmaxMeshWorkGroupCount.static intnmaxMeshWorkGroupInvocations(long struct) Unsafe version ofmaxMeshWorkGroupInvocations().static IntBuffernmaxMeshWorkGroupSize(long struct) Unsafe version ofmaxMeshWorkGroupSize().static intnmaxMeshWorkGroupSize(long struct, int index) Unsafe version ofmaxMeshWorkGroupSize.static intnmaxMeshWorkGroupTotalCount(long struct) Unsafe version ofmaxMeshWorkGroupTotalCount().static intnmaxPreferredMeshWorkGroupInvocations(long struct) Unsafe version ofmaxPreferredMeshWorkGroupInvocations().static intnmaxPreferredTaskWorkGroupInvocations(long struct) Unsafe version ofmaxPreferredTaskWorkGroupInvocations().static intnmaxTaskPayloadAndSharedMemorySize(long struct) Unsafe version ofmaxTaskPayloadAndSharedMemorySize().static intnmaxTaskPayloadSize(long struct) Unsafe version ofmaxTaskPayloadSize().static intnmaxTaskSharedMemorySize(long struct) Unsafe version ofmaxTaskSharedMemorySize().static IntBuffernmaxTaskWorkGroupCount(long struct) Unsafe version ofmaxTaskWorkGroupCount().static intnmaxTaskWorkGroupCount(long struct, int index) Unsafe version ofmaxTaskWorkGroupCount.static intnmaxTaskWorkGroupInvocations(long struct) Unsafe version ofmaxTaskWorkGroupInvocations().static IntBuffernmaxTaskWorkGroupSize(long struct) Unsafe version ofmaxTaskWorkGroupSize().static intnmaxTaskWorkGroupSize(long struct, int index) Unsafe version ofmaxTaskWorkGroupSize.static intnmaxTaskWorkGroupTotalCount(long struct) Unsafe version ofmaxTaskWorkGroupTotalCount().static intnmeshOutputPerPrimitiveGranularity(long struct) Unsafe version ofmeshOutputPerPrimitiveGranularity().static intnmeshOutputPerVertexGranularity(long struct) Unsafe version ofmeshOutputPerVertexGranularity().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnprefersCompactPrimitiveOutput(long struct) Unsafe version ofprefersCompactPrimitiveOutput().static intnprefersCompactVertexOutput(long struct) Unsafe version ofprefersCompactVertexOutput().static intnprefersLocalInvocationPrimitiveOutput(long struct) Unsafe version ofprefersLocalInvocationPrimitiveOutput().static intnprefersLocalInvocationVertexOutput(long struct) Unsafe version ofprefersLocalInvocationVertexOutput().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.pNext(long value) Sets the specified value to thepNext()field.booleanspecifies whether output primitives should be compacted after custom culling in the mesh shader for best performance, otherwise the use ofCullPrimitiveEXTmay be better.booleanspecifies whether output vertices should be compacted after custom culling in the mesh shader for best performance, otherwise keeping the vertices at their original location may be better.booleanspecifies whether writes to the primitive output array in a mesh shader yield best performance when the array index matchesLocalInvocationIndex.booleanspecifies whether writes to the vertex output array in a mesh shader yield best performance when the array index matchesLocalInvocationIndex.set(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXTvalue to thesType()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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. -
MAXTASKWORKGROUPTOTALCOUNT
public static final int MAXTASKWORKGROUPTOTALCOUNTThe struct member offsets. -
MAXTASKWORKGROUPCOUNT
public static final int MAXTASKWORKGROUPCOUNTThe struct member offsets. -
MAXTASKWORKGROUPINVOCATIONS
public static final int MAXTASKWORKGROUPINVOCATIONSThe struct member offsets. -
MAXTASKWORKGROUPSIZE
public static final int MAXTASKWORKGROUPSIZEThe struct member offsets. -
MAXTASKPAYLOADSIZE
public static final int MAXTASKPAYLOADSIZEThe struct member offsets. -
MAXTASKSHAREDMEMORYSIZE
public static final int MAXTASKSHAREDMEMORYSIZEThe struct member offsets. -
MAXTASKPAYLOADANDSHAREDMEMORYSIZE
public static final int MAXTASKPAYLOADANDSHAREDMEMORYSIZEThe struct member offsets. -
MAXMESHWORKGROUPTOTALCOUNT
public static final int MAXMESHWORKGROUPTOTALCOUNTThe struct member offsets. -
MAXMESHWORKGROUPCOUNT
public static final int MAXMESHWORKGROUPCOUNTThe struct member offsets. -
MAXMESHWORKGROUPINVOCATIONS
public static final int MAXMESHWORKGROUPINVOCATIONSThe struct member offsets. -
MAXMESHWORKGROUPSIZE
public static final int MAXMESHWORKGROUPSIZEThe struct member offsets. -
MAXMESHSHAREDMEMORYSIZE
public static final int MAXMESHSHAREDMEMORYSIZEThe struct member offsets. -
MAXMESHPAYLOADANDSHAREDMEMORYSIZE
public static final int MAXMESHPAYLOADANDSHAREDMEMORYSIZEThe struct member offsets. -
MAXMESHOUTPUTMEMORYSIZE
public static final int MAXMESHOUTPUTMEMORYSIZEThe struct member offsets. -
MAXMESHPAYLOADANDOUTPUTMEMORYSIZE
public static final int MAXMESHPAYLOADANDOUTPUTMEMORYSIZEThe struct member offsets. -
MAXMESHOUTPUTCOMPONENTS
public static final int MAXMESHOUTPUTCOMPONENTSThe struct member offsets. -
MAXMESHOUTPUTVERTICES
public static final int MAXMESHOUTPUTVERTICESThe struct member offsets. -
MAXMESHOUTPUTPRIMITIVES
public static final int MAXMESHOUTPUTPRIMITIVESThe struct member offsets. -
MAXMESHOUTPUTLAYERS
public static final int MAXMESHOUTPUTLAYERSThe struct member offsets. -
MAXMESHMULTIVIEWVIEWCOUNT
public static final int MAXMESHMULTIVIEWVIEWCOUNTThe struct member offsets. -
MESHOUTPUTPERVERTEXGRANULARITY
public static final int MESHOUTPUTPERVERTEXGRANULARITYThe struct member offsets. -
MESHOUTPUTPERPRIMITIVEGRANULARITY
public static final int MESHOUTPUTPERPRIMITIVEGRANULARITYThe struct member offsets. -
MAXPREFERREDTASKWORKGROUPINVOCATIONS
public static final int MAXPREFERREDTASKWORKGROUPINVOCATIONSThe struct member offsets. -
MAXPREFERREDMESHWORKGROUPINVOCATIONS
public static final int MAXPREFERREDMESHWORKGROUPINVOCATIONSThe struct member offsets. -
PREFERSLOCALINVOCATIONVERTEXOUTPUT
public static final int PREFERSLOCALINVOCATIONVERTEXOUTPUTThe struct member offsets. -
PREFERSLOCALINVOCATIONPRIMITIVEOUTPUT
public static final int PREFERSLOCALINVOCATIONPRIMITIVEOUTPUTThe struct member offsets. -
PREFERSCOMPACTVERTEXOUTPUT
public static final int PREFERSCOMPACTVERTEXOUTPUTThe struct member offsets. -
PREFERSCOMPACTPRIMITIVEOUTPUT
public static final int PREFERSCOMPACTPRIMITIVEOUTPUTThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceMeshShaderPropertiesEXT
Creates aVkPhysicalDeviceMeshShaderPropertiesEXTinstance 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkPhysicalDeviceMeshShaderPropertiesEXT>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
maxTaskWorkGroupTotalCount
public int maxTaskWorkGroupTotalCount()the maximum number of total local workgroups that can be launched by a single mesh tasks drawing command. See Programmable Mesh Shading. -
maxTaskWorkGroupCount
the maximum number of local workgroups that can be launched by a single mesh tasks drawing command. These three values represent the maximum number of local workgroups for the X, Y, and Z dimensions, respectively. The workgroup count parameters to the drawing commands must be less than or equal to the corresponding limit. The product of these dimensions must be less than or equal tomaxTaskWorkGroupTotalCount. -
maxTaskWorkGroupCount
public int maxTaskWorkGroupCount(int index) the maximum number of local workgroups that can be launched by a single mesh tasks drawing command. These three values represent the maximum number of local workgroups for the X, Y, and Z dimensions, respectively. The workgroup count parameters to the drawing commands must be less than or equal to the corresponding limit. The product of these dimensions must be less than or equal tomaxTaskWorkGroupTotalCount. -
maxTaskWorkGroupInvocations
public int maxTaskWorkGroupInvocations()the maximum total number of task shader invocations in a single local workgroup. The product of the X, Y, and Z sizes, as specified by theLocalSizeorLocalSizeIdexecution mode in shader modules or by the object decorated by theWorkgroupSizedecoration, must be less than or equal to this limit. -
maxTaskWorkGroupSize
the maximum size of a local task workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. Thex,y, andzsizes, as specified by theLocalSizeorLocalSizeIdexecution mode or by the object decorated by theWorkgroupSizedecoration in shader modules, must be less than or equal to the corresponding limit. -
maxTaskWorkGroupSize
public int maxTaskWorkGroupSize(int index) the maximum size of a local task workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. Thex,y, andzsizes, as specified by theLocalSizeorLocalSizeIdexecution mode or by the object decorated by theWorkgroupSizedecoration in shader modules, must be less than or equal to the corresponding limit. -
maxTaskPayloadSize
public int maxTaskPayloadSize()the maximum total storage size, in bytes, available for variables declared with theTaskPayloadWorkgroupEXTstorage class in shader modules in the task shader stage. -
maxMeshWorkGroupTotalCount
public int maxMeshWorkGroupTotalCount()the maximum number of local output tasks a single task shader workgroup can emit. -
maxMeshWorkGroupCount
the maximum number of local output tasks a single task shader workgroup can emit, per dimension. These three values represent the maximum number of local output tasks for the X, Y, and Z dimensions, respectively. The workgroup count parameters to theOpEmitMeshTasksEXTmust be less than or equal to the corresponding limit. The product of these dimensions must be less than or equal tomaxMeshWorkGroupTotalCount. -
maxMeshWorkGroupCount
public int maxMeshWorkGroupCount(int index) the maximum number of local output tasks a single task shader workgroup can emit, per dimension. These three values represent the maximum number of local output tasks for the X, Y, and Z dimensions, respectively. The workgroup count parameters to theOpEmitMeshTasksEXTmust be less than or equal to the corresponding limit. The product of these dimensions must be less than or equal tomaxMeshWorkGroupTotalCount. -
maxMeshWorkGroupInvocations
public int maxMeshWorkGroupInvocations()the maximum total number of mesh shader invocations in a single local workgroup. The product of the X, Y, and Z sizes, as specified by theLocalSizeorLocalSizeIdexecution mode in shader modules or by the object decorated by theWorkgroupSizedecoration, must be less than or equal to this limit. -
maxMeshWorkGroupSize
the maximum size of a local mesh workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. Thex,y, andzsizes, as specified by theLocalSizeorLocalSizeIdexecution mode or by the object decorated by theWorkgroupSizedecoration in shader modules, must be less than or equal to the corresponding limit. -
maxMeshWorkGroupSize
public int maxMeshWorkGroupSize(int index) the maximum size of a local mesh workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. Thex,y, andzsizes, as specified by theLocalSizeorLocalSizeIdexecution mode or by the object decorated by theWorkgroupSizedecoration in shader modules, must be less than or equal to the corresponding limit. -
maxMeshOutputMemorySize
public int maxMeshOutputMemorySize()the maximum total storage size, in bytes, available for output variables in shader modules in the mesh shader stage, according to the formula in Mesh Shader Output. -
maxMeshPayloadAndOutputMemorySize
public int maxMeshPayloadAndOutputMemorySize()the maximum total storage size, in bytes, available for variables that are declared with theTaskPayloadWorkgroupEXTstorage class, or output variables in shader modules in the mesh shader stage, according to the formula in Mesh Shader Output. -
maxMeshOutputComponents
public int maxMeshOutputComponents()the maximum number of components of output variables which can be output from the mesh shader stage. -
maxMeshOutputVertices
public int maxMeshOutputVertices()the maximum number of vertices which can be emitted by a single mesh shader workgroup. -
maxMeshOutputPrimitives
public int maxMeshOutputPrimitives()the maximum number of primitives which can be emitted by a single mesh shader workgroup. -
maxMeshOutputLayers
public int maxMeshOutputLayers()one greater than the maximum layer index that can be output from the mesh shader stage. -
maxMeshMultiviewViewCount
public int maxMeshMultiviewViewCount()one greater than the maximum view index that can be used by any mesh shader. -
meshOutputPerVertexGranularity
public int meshOutputPerVertexGranularity()the granularity of vertex allocation. The number of output vertices allocated for the mesh shader stage is padded to a multiple of this number. The value can be used to calculate the required storage size for output variables in shader modules in the mesh shader stage, which must be less than or equal tomaxMeshOutputMemorySize. -
meshOutputPerPrimitiveGranularity
public int meshOutputPerPrimitiveGranularity()the granularity of primitive allocation. The number of output primitives allocated for the mesh shader stage is padded to a multiple of this number. The value can be used to calculate the required storage size for output variables in shader modules in the mesh shader stage, which must be less than or equal tomaxMeshOutputMemorySize. -
maxPreferredTaskWorkGroupInvocations
public int maxPreferredTaskWorkGroupInvocations()the maximum number of task shader invocations in a single workgroup that is preferred by the implementation for optimal performance. The value is guaranteed to be a multiple of a supported subgroup size for the task shader stage. -
maxPreferredMeshWorkGroupInvocations
public int maxPreferredMeshWorkGroupInvocations()the maximum number of mesh shader invocations in a single workgroup that is preferred by the implementation for optimal performance. The value is guaranteed to be a multiple of a supported subgroup size for the mesh shader stage. -
prefersLocalInvocationVertexOutput
public boolean prefersLocalInvocationVertexOutput()specifies whether writes to the vertex output array in a mesh shader yield best performance when the array index matchesLocalInvocationIndex. -
prefersLocalInvocationPrimitiveOutput
public boolean prefersLocalInvocationPrimitiveOutput()specifies whether writes to the primitive output array in a mesh shader yield best performance when the array index matchesLocalInvocationIndex. -
prefersCompactVertexOutput
public boolean prefersCompactVertexOutput()specifies whether output vertices should be compacted after custom culling in the mesh shader for best performance, otherwise keeping the vertices at their original location may be better. -
prefersCompactPrimitiveOutput
public boolean prefersCompactPrimitiveOutput()specifies whether output primitives should be compacted after custom culling in the mesh shader for best performance, otherwise the use ofCullPrimitiveEXTmay be better. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXTvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
set
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 newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceMeshShaderPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceMeshShaderPropertiesEXT.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(). -
nmaxTaskWorkGroupTotalCount
public static int nmaxTaskWorkGroupTotalCount(long struct) Unsafe version ofmaxTaskWorkGroupTotalCount(). -
nmaxTaskWorkGroupCount
Unsafe version ofmaxTaskWorkGroupCount(). -
nmaxTaskWorkGroupCount
public static int nmaxTaskWorkGroupCount(long struct, int index) Unsafe version ofmaxTaskWorkGroupCount. -
nmaxTaskWorkGroupInvocations
public static int nmaxTaskWorkGroupInvocations(long struct) Unsafe version ofmaxTaskWorkGroupInvocations(). -
nmaxTaskWorkGroupSize
Unsafe version ofmaxTaskWorkGroupSize(). -
nmaxTaskWorkGroupSize
public static int nmaxTaskWorkGroupSize(long struct, int index) Unsafe version ofmaxTaskWorkGroupSize. -
nmaxTaskPayloadSize
public static int nmaxTaskPayloadSize(long struct) Unsafe version ofmaxTaskPayloadSize(). -
nmaxMeshWorkGroupTotalCount
public static int nmaxMeshWorkGroupTotalCount(long struct) Unsafe version ofmaxMeshWorkGroupTotalCount(). -
nmaxMeshWorkGroupCount
Unsafe version ofmaxMeshWorkGroupCount(). -
nmaxMeshWorkGroupCount
public static int nmaxMeshWorkGroupCount(long struct, int index) Unsafe version ofmaxMeshWorkGroupCount. -
nmaxMeshWorkGroupInvocations
public static int nmaxMeshWorkGroupInvocations(long struct) Unsafe version ofmaxMeshWorkGroupInvocations(). -
nmaxMeshWorkGroupSize
Unsafe version ofmaxMeshWorkGroupSize(). -
nmaxMeshWorkGroupSize
public static int nmaxMeshWorkGroupSize(long struct, int index) Unsafe version ofmaxMeshWorkGroupSize. -
nmaxMeshOutputMemorySize
public static int nmaxMeshOutputMemorySize(long struct) Unsafe version ofmaxMeshOutputMemorySize(). -
nmaxMeshPayloadAndOutputMemorySize
public static int nmaxMeshPayloadAndOutputMemorySize(long struct) Unsafe version ofmaxMeshPayloadAndOutputMemorySize(). -
nmaxMeshOutputComponents
public static int nmaxMeshOutputComponents(long struct) Unsafe version ofmaxMeshOutputComponents(). -
nmaxMeshOutputVertices
public static int nmaxMeshOutputVertices(long struct) Unsafe version ofmaxMeshOutputVertices(). -
nmaxMeshOutputPrimitives
public static int nmaxMeshOutputPrimitives(long struct) Unsafe version ofmaxMeshOutputPrimitives(). -
nmaxMeshOutputLayers
public static int nmaxMeshOutputLayers(long struct) Unsafe version ofmaxMeshOutputLayers(). -
nmaxMeshMultiviewViewCount
public static int nmaxMeshMultiviewViewCount(long struct) Unsafe version ofmaxMeshMultiviewViewCount(). -
nmeshOutputPerVertexGranularity
public static int nmeshOutputPerVertexGranularity(long struct) Unsafe version ofmeshOutputPerVertexGranularity(). -
nmeshOutputPerPrimitiveGranularity
public static int nmeshOutputPerPrimitiveGranularity(long struct) Unsafe version ofmeshOutputPerPrimitiveGranularity(). -
nmaxPreferredTaskWorkGroupInvocations
public static int nmaxPreferredTaskWorkGroupInvocations(long struct) Unsafe version ofmaxPreferredTaskWorkGroupInvocations(). -
nmaxPreferredMeshWorkGroupInvocations
public static int nmaxPreferredMeshWorkGroupInvocations(long struct) Unsafe version ofmaxPreferredMeshWorkGroupInvocations(). -
nprefersLocalInvocationVertexOutput
public static int nprefersLocalInvocationVertexOutput(long struct) Unsafe version ofprefersLocalInvocationVertexOutput(). -
nprefersLocalInvocationPrimitiveOutput
public static int nprefersLocalInvocationPrimitiveOutput(long struct) Unsafe version ofprefersLocalInvocationPrimitiveOutput(). -
nprefersCompactVertexOutput
public static int nprefersCompactVertexOutput(long struct) Unsafe version ofprefersCompactVertexOutput(). -
nprefersCompactPrimitiveOutput
public static int nprefersCompactPrimitiveOutput(long struct) Unsafe version ofprefersCompactPrimitiveOutput(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-