Class VkPhysicalDeviceMeshShaderPropertiesEXT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceMeshShaderPropertiesEXT extends Struct<VkPhysicalDeviceMeshShaderPropertiesEXT> implements NativeResource

 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;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • MAXTASKWORKGROUPTOTALCOUNT

      public static final int MAXTASKWORKGROUPTOTALCOUNT
      The struct member offsets.
    • MAXTASKWORKGROUPCOUNT

      public static final int MAXTASKWORKGROUPCOUNT
      The struct member offsets.
    • MAXTASKWORKGROUPINVOCATIONS

      public static final int MAXTASKWORKGROUPINVOCATIONS
      The struct member offsets.
    • MAXTASKWORKGROUPSIZE

      public static final int MAXTASKWORKGROUPSIZE
      The struct member offsets.
    • MAXTASKPAYLOADSIZE

      public static final int MAXTASKPAYLOADSIZE
      The struct member offsets.
    • MAXTASKSHAREDMEMORYSIZE

      public static final int MAXTASKSHAREDMEMORYSIZE
      The struct member offsets.
    • MAXTASKPAYLOADANDSHAREDMEMORYSIZE

      public static final int MAXTASKPAYLOADANDSHAREDMEMORYSIZE
      The struct member offsets.
    • MAXMESHWORKGROUPTOTALCOUNT

      public static final int MAXMESHWORKGROUPTOTALCOUNT
      The struct member offsets.
    • MAXMESHWORKGROUPCOUNT

      public static final int MAXMESHWORKGROUPCOUNT
      The struct member offsets.
    • MAXMESHWORKGROUPINVOCATIONS

      public static final int MAXMESHWORKGROUPINVOCATIONS
      The struct member offsets.
    • MAXMESHWORKGROUPSIZE

      public static final int MAXMESHWORKGROUPSIZE
      The struct member offsets.
    • MAXMESHSHAREDMEMORYSIZE

      public static final int MAXMESHSHAREDMEMORYSIZE
      The struct member offsets.
    • MAXMESHPAYLOADANDSHAREDMEMORYSIZE

      public static final int MAXMESHPAYLOADANDSHAREDMEMORYSIZE
      The struct member offsets.
    • MAXMESHOUTPUTMEMORYSIZE

      public static final int MAXMESHOUTPUTMEMORYSIZE
      The struct member offsets.
    • MAXMESHPAYLOADANDOUTPUTMEMORYSIZE

      public static final int MAXMESHPAYLOADANDOUTPUTMEMORYSIZE
      The struct member offsets.
    • MAXMESHOUTPUTCOMPONENTS

      public static final int MAXMESHOUTPUTCOMPONENTS
      The struct member offsets.
    • MAXMESHOUTPUTVERTICES

      public static final int MAXMESHOUTPUTVERTICES
      The struct member offsets.
    • MAXMESHOUTPUTPRIMITIVES

      public static final int MAXMESHOUTPUTPRIMITIVES
      The struct member offsets.
    • MAXMESHOUTPUTLAYERS

      public static final int MAXMESHOUTPUTLAYERS
      The struct member offsets.
    • MAXMESHMULTIVIEWVIEWCOUNT

      public static final int MAXMESHMULTIVIEWVIEWCOUNT
      The struct member offsets.
    • MESHOUTPUTPERVERTEXGRANULARITY

      public static final int MESHOUTPUTPERVERTEXGRANULARITY
      The struct member offsets.
    • MESHOUTPUTPERPRIMITIVEGRANULARITY

      public static final int MESHOUTPUTPERPRIMITIVEGRANULARITY
      The struct member offsets.
    • MAXPREFERREDTASKWORKGROUPINVOCATIONS

      public static final int MAXPREFERREDTASKWORKGROUPINVOCATIONS
      The struct member offsets.
    • MAXPREFERREDMESHWORKGROUPINVOCATIONS

      public static final int MAXPREFERREDMESHWORKGROUPINVOCATIONS
      The struct member offsets.
    • PREFERSLOCALINVOCATIONVERTEXOUTPUT

      public static final int PREFERSLOCALINVOCATIONVERTEXOUTPUT
      The struct member offsets.
    • PREFERSLOCALINVOCATIONPRIMITIVEOUTPUT

      public static final int PREFERSLOCALINVOCATIONPRIMITIVEOUTPUT
      The struct member offsets.
    • PREFERSCOMPACTVERTEXOUTPUT

      public static final int PREFERSCOMPACTVERTEXOUTPUT
      The struct member offsets.
    • PREFERSCOMPACTPRIMITIVEOUTPUT

      public static final int PREFERSCOMPACTPRIMITIVEOUTPUT
      The struct member offsets.
  • Constructor Details

    • VkPhysicalDeviceMeshShaderPropertiesEXT

      public VkPhysicalDeviceMeshShaderPropertiesEXT(ByteBuffer container)
      Creates a VkPhysicalDeviceMeshShaderPropertiesEXT instance at the current position of the specified ByteBuffer container. 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: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkPhysicalDeviceMeshShaderPropertiesEXT>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • maxTaskWorkGroupTotalCount

      public int maxTaskWorkGroupTotalCount()
      Returns:
      the value of the maxTaskWorkGroupTotalCount field.
    • maxTaskWorkGroupCount

      public IntBuffer maxTaskWorkGroupCount()
      Returns:
      a IntBuffer view of the maxTaskWorkGroupCount field.
    • maxTaskWorkGroupCount

      public int maxTaskWorkGroupCount(int index)
      Returns:
      the value at the specified index of the maxTaskWorkGroupCount field.
    • maxTaskWorkGroupInvocations

      public int maxTaskWorkGroupInvocations()
      Returns:
      the value of the maxTaskWorkGroupInvocations field.
    • maxTaskWorkGroupSize

      public IntBuffer maxTaskWorkGroupSize()
      Returns:
      a IntBuffer view of the maxTaskWorkGroupSize field.
    • maxTaskWorkGroupSize

      public int maxTaskWorkGroupSize(int index)
      Returns:
      the value at the specified index of the maxTaskWorkGroupSize field.
    • maxTaskPayloadSize

      public int maxTaskPayloadSize()
      Returns:
      the value of the maxTaskPayloadSize field.
    • maxTaskSharedMemorySize

      public int maxTaskSharedMemorySize()
      Returns:
      the value of the maxTaskSharedMemorySize field.
    • maxTaskPayloadAndSharedMemorySize

      public int maxTaskPayloadAndSharedMemorySize()
      Returns:
      the value of the maxTaskPayloadAndSharedMemorySize field.
    • maxMeshWorkGroupTotalCount

      public int maxMeshWorkGroupTotalCount()
      Returns:
      the value of the maxMeshWorkGroupTotalCount field.
    • maxMeshWorkGroupCount

      public IntBuffer maxMeshWorkGroupCount()
      Returns:
      a IntBuffer view of the maxMeshWorkGroupCount field.
    • maxMeshWorkGroupCount

      public int maxMeshWorkGroupCount(int index)
      Returns:
      the value at the specified index of the maxMeshWorkGroupCount field.
    • maxMeshWorkGroupInvocations

      public int maxMeshWorkGroupInvocations()
      Returns:
      the value of the maxMeshWorkGroupInvocations field.
    • maxMeshWorkGroupSize

      public IntBuffer maxMeshWorkGroupSize()
      Returns:
      a IntBuffer view of the maxMeshWorkGroupSize field.
    • maxMeshWorkGroupSize

      public int maxMeshWorkGroupSize(int index)
      Returns:
      the value at the specified index of the maxMeshWorkGroupSize field.
    • maxMeshSharedMemorySize

      public int maxMeshSharedMemorySize()
      Returns:
      the value of the maxMeshSharedMemorySize field.
    • maxMeshPayloadAndSharedMemorySize

      public int maxMeshPayloadAndSharedMemorySize()
      Returns:
      the value of the maxMeshPayloadAndSharedMemorySize field.
    • maxMeshOutputMemorySize

      public int maxMeshOutputMemorySize()
      Returns:
      the value of the maxMeshOutputMemorySize field.
    • maxMeshPayloadAndOutputMemorySize

      public int maxMeshPayloadAndOutputMemorySize()
      Returns:
      the value of the maxMeshPayloadAndOutputMemorySize field.
    • maxMeshOutputComponents

      public int maxMeshOutputComponents()
      Returns:
      the value of the maxMeshOutputComponents field.
    • maxMeshOutputVertices

      public int maxMeshOutputVertices()
      Returns:
      the value of the maxMeshOutputVertices field.
    • maxMeshOutputPrimitives

      public int maxMeshOutputPrimitives()
      Returns:
      the value of the maxMeshOutputPrimitives field.
    • maxMeshOutputLayers

      public int maxMeshOutputLayers()
      Returns:
      the value of the maxMeshOutputLayers field.
    • maxMeshMultiviewViewCount

      public int maxMeshMultiviewViewCount()
      Returns:
      the value of the maxMeshMultiviewViewCount field.
    • meshOutputPerVertexGranularity

      public int meshOutputPerVertexGranularity()
      Returns:
      the value of the meshOutputPerVertexGranularity field.
    • meshOutputPerPrimitiveGranularity

      public int meshOutputPerPrimitiveGranularity()
      Returns:
      the value of the meshOutputPerPrimitiveGranularity field.
    • maxPreferredTaskWorkGroupInvocations

      public int maxPreferredTaskWorkGroupInvocations()
      Returns:
      the value of the maxPreferredTaskWorkGroupInvocations field.
    • maxPreferredMeshWorkGroupInvocations

      public int maxPreferredMeshWorkGroupInvocations()
      Returns:
      the value of the maxPreferredMeshWorkGroupInvocations field.
    • prefersLocalInvocationVertexOutput

      public boolean prefersLocalInvocationVertexOutput()
      Returns:
      the value of the prefersLocalInvocationVertexOutput field.
    • prefersLocalInvocationPrimitiveOutput

      public boolean prefersLocalInvocationPrimitiveOutput()
      Returns:
      the value of the prefersLocalInvocationPrimitiveOutput field.
    • prefersCompactVertexOutput

      public boolean prefersCompactVertexOutput()
      Returns:
      the value of the prefersCompactVertexOutput field.
    • prefersCompactPrimitiveOutput

      public boolean prefersCompactPrimitiveOutput()
      Returns:
      the value of the prefersCompactPrimitiveOutput field.
    • sType

      public VkPhysicalDeviceMeshShaderPropertiesEXT sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      public VkPhysicalDeviceMeshShaderPropertiesEXT pNext(long value)
      Sets the specified value to the pNext field.
    • set

      public VkPhysicalDeviceMeshShaderPropertiesEXT set(int sType, long pNext)
      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 new VkPhysicalDeviceMeshShaderPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT instance allocated with BufferUtils.
    • create

      public static VkPhysicalDeviceMeshShaderPropertiesEXT create(long address)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT instance for the specified memory address.
    • createSafe

      public static @Nullable VkPhysicalDeviceMeshShaderPropertiesEXT createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer malloc(int capacity)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer calloc(int capacity)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer create(int capacity)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer create(long address, int capacity)
      Create a VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceMeshShaderPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • nmaxTaskWorkGroupTotalCount

      public static int nmaxTaskWorkGroupTotalCount(long struct)
      Unsafe version of maxTaskWorkGroupTotalCount().
    • nmaxTaskWorkGroupCount

      public static IntBuffer nmaxTaskWorkGroupCount(long struct)
      Unsafe version of maxTaskWorkGroupCount().
    • nmaxTaskWorkGroupCount

      public static int nmaxTaskWorkGroupCount(long struct, int index)
      Unsafe version of maxTaskWorkGroupCount.
    • nmaxTaskWorkGroupInvocations

      public static int nmaxTaskWorkGroupInvocations(long struct)
    • nmaxTaskWorkGroupSize

      public static IntBuffer nmaxTaskWorkGroupSize(long struct)
      Unsafe version of maxTaskWorkGroupSize().
    • nmaxTaskWorkGroupSize

      public static int nmaxTaskWorkGroupSize(long struct, int index)
      Unsafe version of maxTaskWorkGroupSize.
    • nmaxTaskPayloadSize

      public static int nmaxTaskPayloadSize(long struct)
      Unsafe version of maxTaskPayloadSize().
    • nmaxTaskSharedMemorySize

      public static int nmaxTaskSharedMemorySize(long struct)
      Unsafe version of maxTaskSharedMemorySize().
    • nmaxTaskPayloadAndSharedMemorySize

      public static int nmaxTaskPayloadAndSharedMemorySize(long struct)
    • nmaxMeshWorkGroupTotalCount

      public static int nmaxMeshWorkGroupTotalCount(long struct)
      Unsafe version of maxMeshWorkGroupTotalCount().
    • nmaxMeshWorkGroupCount

      public static IntBuffer nmaxMeshWorkGroupCount(long struct)
      Unsafe version of maxMeshWorkGroupCount().
    • nmaxMeshWorkGroupCount

      public static int nmaxMeshWorkGroupCount(long struct, int index)
      Unsafe version of maxMeshWorkGroupCount.
    • nmaxMeshWorkGroupInvocations

      public static int nmaxMeshWorkGroupInvocations(long struct)
    • nmaxMeshWorkGroupSize

      public static IntBuffer nmaxMeshWorkGroupSize(long struct)
      Unsafe version of maxMeshWorkGroupSize().
    • nmaxMeshWorkGroupSize

      public static int nmaxMeshWorkGroupSize(long struct, int index)
      Unsafe version of maxMeshWorkGroupSize.
    • nmaxMeshSharedMemorySize

      public static int nmaxMeshSharedMemorySize(long struct)
      Unsafe version of maxMeshSharedMemorySize().
    • nmaxMeshPayloadAndSharedMemorySize

      public static int nmaxMeshPayloadAndSharedMemorySize(long struct)
    • nmaxMeshOutputMemorySize

      public static int nmaxMeshOutputMemorySize(long struct)
      Unsafe version of maxMeshOutputMemorySize().
    • nmaxMeshPayloadAndOutputMemorySize

      public static int nmaxMeshPayloadAndOutputMemorySize(long struct)
    • nmaxMeshOutputComponents

      public static int nmaxMeshOutputComponents(long struct)
      Unsafe version of maxMeshOutputComponents().
    • nmaxMeshOutputVertices

      public static int nmaxMeshOutputVertices(long struct)
      Unsafe version of maxMeshOutputVertices().
    • nmaxMeshOutputPrimitives

      public static int nmaxMeshOutputPrimitives(long struct)
      Unsafe version of maxMeshOutputPrimitives().
    • nmaxMeshOutputLayers

      public static int nmaxMeshOutputLayers(long struct)
      Unsafe version of maxMeshOutputLayers().
    • nmaxMeshMultiviewViewCount

      public static int nmaxMeshMultiviewViewCount(long struct)
      Unsafe version of maxMeshMultiviewViewCount().
    • nmeshOutputPerVertexGranularity

      public static int nmeshOutputPerVertexGranularity(long struct)
    • nmeshOutputPerPrimitiveGranularity

      public static int nmeshOutputPerPrimitiveGranularity(long struct)
    • nmaxPreferredTaskWorkGroupInvocations

      public static int nmaxPreferredTaskWorkGroupInvocations(long struct)
    • nmaxPreferredMeshWorkGroupInvocations

      public static int nmaxPreferredMeshWorkGroupInvocations(long struct)
    • nprefersLocalInvocationVertexOutput

      public static int nprefersLocalInvocationVertexOutput(long struct)
    • nprefersLocalInvocationPrimitiveOutput

      public static int nprefersLocalInvocationPrimitiveOutput(long struct)
    • nprefersCompactVertexOutput

      public static int nprefersCompactVertexOutput(long struct)
      Unsafe version of prefersCompactVertexOutput().
    • nprefersCompactPrimitiveOutput

      public static int nprefersCompactPrimitiveOutput(long struct)
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.