Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceMeshShaderPropertiesNV

extends Struct<VkPhysicalDeviceMeshShaderPropertiesNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing mesh shading properties.
Description

If the VkPhysicalDeviceMeshShaderPropertiesNV structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceMeshShaderPropertiesNV {
    VkStructureType sType;
    void * pNext;
    uint32_t maxDrawMeshTasksCount;
    uint32_t maxTaskWorkGroupInvocations;
    uint32_t maxTaskWorkGroupSize[3];
    uint32_t maxTaskTotalMemorySize;
    uint32_t maxTaskOutputCount;
    uint32_t maxMeshWorkGroupInvocations;
    uint32_t maxMeshWorkGroupSize[3];
    uint32_t maxMeshTotalMemorySize;
    uint32_t maxMeshOutputVertices;
    uint32_t maxMeshOutputPrimitives;
    uint32_t maxMeshMultiviewViewCount;
    uint32_t meshOutputPerVertexGranularity;
    uint32_t meshOutputPerPrimitiveGranularity;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
MAXDRAWMESHTASKSCOUNT

The struct member offsets.

public static final int
MAXMESHMULTIVIEWVIEWCOUNT

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
MAXMESHTOTALMEMORYSIZE

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
MAXTASKOUTPUTCOUNT

The struct member offsets.

public static final int
MAXTASKTOTALMEMORYSIZE

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
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
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceMeshShaderPropertiesNV(ByteBuffer container)

Creates a VkPhysicalDeviceMeshShaderPropertiesNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceMeshShaderPropertiesNV
calloc()

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance allocated with memCalloc.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceMeshShaderPropertiesNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceMeshShaderPropertiesNV
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceMeshShaderPropertiesNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceMeshShaderPropertiesNV
create()

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance allocated with BufferUtils.

public static VkPhysicalDeviceMeshShaderPropertiesNV
create(long address)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance for the specified memory address.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance at the specified memory.

public static VkPhysicalDeviceMeshShaderPropertiesNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceMeshShaderPropertiesNV
malloc()

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance allocated with memAlloc.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceMeshShaderPropertiesNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceMeshShaderPropertiesNV.Buffer instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceMeshShaderPropertiesNV
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceMeshShaderPropertiesNV.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int
maxDrawMeshTasksCount()

the maximum number of local workgroups that can be launched by a single draw mesh tasks command.

public int
maxMeshMultiviewViewCount()

the maximum number of multiview views a mesh shader can use.

public int
maxMeshOutputPrimitives()

the maximum number of primitives a mesh shader output can store.

public int
maxMeshOutputVertices()

the maximum number of vertices a mesh shader output can store.

public int
maxMeshTotalMemorySize()

the maximum number of bytes that the mesh shader can use in total for shared and output memory combined.

public int
maxMeshWorkGroupInvocations()

the maximum total number of mesh shader invocations in a single local workgroup.

public IntBuffer
maxMeshWorkGroupSize()

the maximum size of a local mesh workgroup.

public int
maxMeshWorkGroupSize(int index)

the maximum size of a local mesh workgroup.

public int
maxTaskOutputCount()

the maximum number of output tasks a single task shader workgroup can emit.

public int
maxTaskTotalMemorySize()

the maximum number of bytes that the task shader can use in total for shared and output memory combined.

public int
maxTaskWorkGroupInvocations()

the maximum total number of task shader invocations in a single local workgroup.

public IntBuffer
maxTaskWorkGroupSize()

the maximum size of a local task workgroup.

public int
maxTaskWorkGroupSize(int index)

the maximum size of a local task workgroup.

public int
meshOutputPerPrimitiveGranularity()

the granularity with which mesh outputs qualified as per-primitive are allocated.

public int
meshOutputPerVertexGranularity()

the granularity with which mesh vertex outputs are allocated.

public static int
nmaxDrawMeshTasksCount(long struct)

Unsafe version of maxDrawMeshTasksCount.

public static int
public static int
nmaxMeshOutputPrimitives(long struct)

Unsafe version of maxMeshOutputPrimitives.

public static int
nmaxMeshOutputVertices(long struct)

Unsafe version of maxMeshOutputVertices.

public static int
nmaxMeshTotalMemorySize(long struct)

Unsafe version of maxMeshTotalMemorySize.

public static int
public static IntBuffer
nmaxMeshWorkGroupSize(long struct)

Unsafe version of maxMeshWorkGroupSize.

public static int
nmaxMeshWorkGroupSize(long struct, int index)

Unsafe version of maxMeshWorkGroupSize.

public static int
nmaxTaskOutputCount(long struct)

Unsafe version of maxTaskOutputCount.

public static int
nmaxTaskTotalMemorySize(long struct)

Unsafe version of maxTaskTotalMemorySize.

public static int
public static IntBuffer
nmaxTaskWorkGroupSize(long struct)

Unsafe version of maxTaskWorkGroupSize.

public static int
nmaxTaskWorkGroupSize(long struct, int index)

Unsafe version of maxTaskWorkGroupSize.

public static int
public static int
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceMeshShaderPropertiesNV
pNext(long value)

Sets the specified value to the pNext field.

public VkPhysicalDeviceMeshShaderPropertiesNV
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceMeshShaderPropertiesNV

Returns:

this struct
set
(VkPhysicalDeviceMeshShaderPropertiesNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceMeshShaderPropertiesNV
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceMeshShaderPropertiesNV
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate