If the VkPhysicalDeviceMeshShaderPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXMESHMULTIVIEWVIEWCOUNT
The struct member offsets. |
| public static final int | MAXMESHOUTPUTCOMPONENTS
The struct member offsets. |
| public static final int | MAXMESHOUTPUTLAYERS
The struct member offsets. |
| public static final int | MAXMESHOUTPUTMEMORYSIZE
The struct member offsets. |
| public static final int | MAXMESHOUTPUTPRIMITIVES
The struct member offsets. |
| public static final int | MAXMESHOUTPUTVERTICES
The struct member offsets. |
| public static final int | MAXMESHPAYLOADANDOUTPUTMEMORYSIZE
The struct member offsets. |
| public static final int | MAXMESHPAYLOADANDSHAREDMEMORYSIZE
The struct member offsets. |
| public static final int | MAXMESHSHAREDMEMORYSIZE
The struct member offsets. |
| public static final int | MAXMESHWORKGROUPCOUNT
The struct member offsets. |
| public static final int | MAXMESHWORKGROUPINVOCATIONS
The struct member offsets. |
| public static final int | MAXMESHWORKGROUPSIZE
The struct member offsets. |
| public static final int | MAXMESHWORKGROUPTOTALCOUNT
The struct member offsets. |
| public static final int | MAXPREFERREDMESHWORKGROUPINVOCATIONS
The struct member offsets. |
| public static final int | MAXPREFERREDTASKWORKGROUPINVOCATIONS
The struct member offsets. |
| public static final int | MAXTASKPAYLOADANDSHAREDMEMORYSIZE
The struct member offsets. |
| public static final int | MAXTASKPAYLOADSIZE
The struct member offsets. |
| public static final int | MAXTASKSHAREDMEMORYSIZE
The struct member offsets. |
| public static final int | MAXTASKWORKGROUPCOUNT
The struct member offsets. |
| public static final int | MAXTASKWORKGROUPINVOCATIONS
The struct member offsets. |
| public static final int | MAXTASKWORKGROUPSIZE
The struct member offsets. |
| public static final int | MAXTASKWORKGROUPTOTALCOUNT
The struct member offsets. |
| public static final int | MESHOUTPUTPERPRIMITIVEGRANULARITY
The struct member offsets. |
| public static final int | MESHOUTPUTPERVERTEXGRANULARITY
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PREFERSCOMPACTPRIMITIVEOUTPUT
The struct member offsets. |
| public static final int | PREFERSCOMPACTVERTEXOUTPUT
The struct member offsets. |
| public static final int | PREFERSLOCALINVOCATIONPRIMITIVEOUTPUT
The struct member offsets. |
| public static final int | PREFERSLOCALINVOCATIONVERTEXOUTPUT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceMeshShaderPropertiesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceMeshShaderPropertiesEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceMeshShaderPropertiesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxMeshMultiviewViewCount()
one greater than the maximum view index that can be used by any mesh shader. |
| public int | maxMeshOutputComponents()
the maximum number of components of output variables which can be output from the mesh shader stage. |
| public int | maxMeshOutputLayers()
one greater than the maximum layer index that can be output from the mesh shader stage. |
| 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. |
| public int | maxMeshOutputPrimitives()
the maximum number of primitives which can be emitted by a single mesh shader workgroup. |
| public int | maxMeshOutputVertices()
the maximum number of vertices which can be emitted by a single mesh shader workgroup. |
| public int | maxMeshPayloadAndOutputMemorySize()
the maximum total storage size, in bytes, available for variables that are declared with the |
| public int | maxMeshPayloadAndSharedMemorySize()
the maximum total storage size, in bytes, available for variables that are declared with the |
| public int | maxMeshSharedMemorySize()
the maximum total storage size, in bytes, available for variables declared with the |
| public IntBuffer | maxMeshWorkGroupCount()
the maximum number of local output tasks a single task shader workgroup can emit, per dimension. |
| public int | maxMeshWorkGroupCount(int index)
the maximum number of local output tasks a single task shader workgroup can emit, per dimension. |
| public int | maxMeshWorkGroupInvocations()
the maximum total number of mesh shader invocations in a single local workgroup. |
| public IntBuffer | |
| public int | |
| public int | maxMeshWorkGroupTotalCount()
the maximum number of local output tasks a single task shader workgroup can emit. |
| public int | maxPreferredMeshWorkGroupInvocations()
the maximum number of mesh shader invocations in a single workgroup that is preferred by the implementation for optimal performance. |
| public int | maxPreferredTaskWorkGroupInvocations()
the maximum number of task shader invocations in a single workgroup that is preferred by the implementation for optimal performance. |
| public int | maxTaskPayloadAndSharedMemorySize()
the maximum total storage size, in bytes, available for variables that are declared with the |
| public int | maxTaskPayloadSize()
the maximum total storage size, in bytes, available for variables declared with the |
| public int | maxTaskSharedMemorySize()
the maximum total storage size, in bytes, available for variables declared with the |
| public IntBuffer | maxTaskWorkGroupCount()
the maximum number of local workgroups that can be launched by a single mesh tasks drawing command. |
| public int | maxTaskWorkGroupCount(int index)
the maximum number of local workgroups that can be launched by a single mesh tasks drawing command. |
| public int | maxTaskWorkGroupInvocations()
the maximum total number of task shader invocations in a single local workgroup. |
| public IntBuffer | |
| public int | |
| public int | maxTaskWorkGroupTotalCount()
the maximum number of total local workgroups that can be launched by a single mesh tasks drawing command. |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public static int | nmaxPreferredMeshWorkGroupInvocations(long struct)
Unsafe version of |
| public static int | nmaxPreferredTaskWorkGroupInvocations(long struct)
Unsafe version of |
| public static int | |
| public static int | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static int | |
| public static int | |
| public static int | nprefersLocalInvocationPrimitiveOutput(long struct)
Unsafe version of |
| public static int | nprefersLocalInvocationVertexOutput(long struct)
Unsafe version of |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public boolean | prefersCompactPrimitiveOutput()
specifies whether output primitives should be compacted after custom culling in the mesh shader for best performance, otherwise the use of |
| 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. |
| public boolean | prefersLocalInvocationPrimitiveOutput()
specifies whether writes to the primitive output array in a mesh shader yield best performance when the array index matches |
| public boolean | prefersLocalInvocationVertexOutput()
specifies whether writes to the vertex output array in a mesh shader yield best performance when the array index matches |
| public VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public VkPhysicalDeviceMeshShaderPropertiesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceMeshShaderPropertiesEXT | |
| public VkPhysicalDeviceMeshShaderPropertiesEXT | sType$Default()
Sets the |