Class VkPhysicalDeviceVulkan14Features

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceVulkan14Features extends Struct<VkPhysicalDeviceVulkan14Features> implements NativeResource

 struct VkPhysicalDeviceVulkan14Features {
     VkStructureType sType;
     void * pNext;
     VkBool32 globalPriorityQuery;
     VkBool32 shaderSubgroupRotate;
     VkBool32 shaderSubgroupRotateClustered;
     VkBool32 shaderFloatControls2;
     VkBool32 shaderExpectAssume;
     VkBool32 rectangularLines;
     VkBool32 bresenhamLines;
     VkBool32 smoothLines;
     VkBool32 stippledRectangularLines;
     VkBool32 stippledBresenhamLines;
     VkBool32 stippledSmoothLines;
     VkBool32 vertexAttributeInstanceRateDivisor;
     VkBool32 vertexAttributeInstanceRateZeroDivisor;
     VkBool32 indexTypeUint8;
     VkBool32 dynamicRenderingLocalRead;
     VkBool32 maintenance5;
     VkBool32 maintenance6;
     VkBool32 pipelineProtectedAccess;
     VkBool32 pipelineRobustness;
     VkBool32 hostImageCopy;
     VkBool32 pushDescriptor;
 }
  • 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.
    • GLOBALPRIORITYQUERY

      public static final int GLOBALPRIORITYQUERY
      The struct member offsets.
    • SHADERSUBGROUPROTATE

      public static final int SHADERSUBGROUPROTATE
      The struct member offsets.
    • SHADERSUBGROUPROTATECLUSTERED

      public static final int SHADERSUBGROUPROTATECLUSTERED
      The struct member offsets.
    • SHADERFLOATCONTROLS2

      public static final int SHADERFLOATCONTROLS2
      The struct member offsets.
    • SHADEREXPECTASSUME

      public static final int SHADEREXPECTASSUME
      The struct member offsets.
    • RECTANGULARLINES

      public static final int RECTANGULARLINES
      The struct member offsets.
    • BRESENHAMLINES

      public static final int BRESENHAMLINES
      The struct member offsets.
    • SMOOTHLINES

      public static final int SMOOTHLINES
      The struct member offsets.
    • STIPPLEDRECTANGULARLINES

      public static final int STIPPLEDRECTANGULARLINES
      The struct member offsets.
    • STIPPLEDBRESENHAMLINES

      public static final int STIPPLEDBRESENHAMLINES
      The struct member offsets.
    • STIPPLEDSMOOTHLINES

      public static final int STIPPLEDSMOOTHLINES
      The struct member offsets.
    • VERTEXATTRIBUTEINSTANCERATEDIVISOR

      public static final int VERTEXATTRIBUTEINSTANCERATEDIVISOR
      The struct member offsets.
    • VERTEXATTRIBUTEINSTANCERATEZERODIVISOR

      public static final int VERTEXATTRIBUTEINSTANCERATEZERODIVISOR
      The struct member offsets.
    • INDEXTYPEUINT8

      public static final int INDEXTYPEUINT8
      The struct member offsets.
    • DYNAMICRENDERINGLOCALREAD

      public static final int DYNAMICRENDERINGLOCALREAD
      The struct member offsets.
    • MAINTENANCE5

      public static final int MAINTENANCE5
      The struct member offsets.
    • MAINTENANCE6

      public static final int MAINTENANCE6
      The struct member offsets.
    • PIPELINEPROTECTEDACCESS

      public static final int PIPELINEPROTECTEDACCESS
      The struct member offsets.
    • PIPELINEROBUSTNESS

      public static final int PIPELINEROBUSTNESS
      The struct member offsets.
    • HOSTIMAGECOPY

      public static final int HOSTIMAGECOPY
      The struct member offsets.
    • PUSHDESCRIPTOR

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

    • VkPhysicalDeviceVulkan14Features

      public VkPhysicalDeviceVulkan14Features(ByteBuffer container)
      Creates a VkPhysicalDeviceVulkan14Features 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<VkPhysicalDeviceVulkan14Features>
    • sType

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

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

      public boolean globalPriorityQuery()
      Returns:
      the value of the globalPriorityQuery field.
    • shaderSubgroupRotate

      public boolean shaderSubgroupRotate()
      Returns:
      the value of the shaderSubgroupRotate field.
    • shaderSubgroupRotateClustered

      public boolean shaderSubgroupRotateClustered()
      Returns:
      the value of the shaderSubgroupRotateClustered field.
    • shaderFloatControls2

      public boolean shaderFloatControls2()
      Returns:
      the value of the shaderFloatControls2 field.
    • shaderExpectAssume

      public boolean shaderExpectAssume()
      Returns:
      the value of the shaderExpectAssume field.
    • rectangularLines

      public boolean rectangularLines()
      Returns:
      the value of the rectangularLines field.
    • bresenhamLines

      public boolean bresenhamLines()
      Returns:
      the value of the bresenhamLines field.
    • smoothLines

      public boolean smoothLines()
      Returns:
      the value of the smoothLines field.
    • stippledRectangularLines

      public boolean stippledRectangularLines()
      Returns:
      the value of the stippledRectangularLines field.
    • stippledBresenhamLines

      public boolean stippledBresenhamLines()
      Returns:
      the value of the stippledBresenhamLines field.
    • stippledSmoothLines

      public boolean stippledSmoothLines()
      Returns:
      the value of the stippledSmoothLines field.
    • vertexAttributeInstanceRateDivisor

      public boolean vertexAttributeInstanceRateDivisor()
      Returns:
      the value of the vertexAttributeInstanceRateDivisor field.
    • vertexAttributeInstanceRateZeroDivisor

      public boolean vertexAttributeInstanceRateZeroDivisor()
      Returns:
      the value of the vertexAttributeInstanceRateZeroDivisor field.
    • indexTypeUint8

      public boolean indexTypeUint8()
      Returns:
      the value of the indexTypeUint8 field.
    • dynamicRenderingLocalRead

      public boolean dynamicRenderingLocalRead()
      Returns:
      the value of the dynamicRenderingLocalRead field.
    • maintenance5

      public boolean maintenance5()
      Returns:
      the value of the maintenance5 field.
    • maintenance6

      public boolean maintenance6()
      Returns:
      the value of the maintenance6 field.
    • pipelineProtectedAccess

      public boolean pipelineProtectedAccess()
      Returns:
      the value of the pipelineProtectedAccess field.
    • pipelineRobustness

      public boolean pipelineRobustness()
      Returns:
      the value of the pipelineRobustness field.
    • hostImageCopy

      public boolean hostImageCopy()
      Returns:
      the value of the hostImageCopy field.
    • pushDescriptor

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

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

      public VkPhysicalDeviceVulkan14Features sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES value to the sType field.
    • pNext

      public VkPhysicalDeviceVulkan14Features pNext(long value)
      Sets the specified value to the pNext field.
    • globalPriorityQuery

      public VkPhysicalDeviceVulkan14Features globalPriorityQuery(boolean value)
      Sets the specified value to the globalPriorityQuery field.
    • shaderSubgroupRotate

      public VkPhysicalDeviceVulkan14Features shaderSubgroupRotate(boolean value)
      Sets the specified value to the shaderSubgroupRotate field.
    • shaderSubgroupRotateClustered

      public VkPhysicalDeviceVulkan14Features shaderSubgroupRotateClustered(boolean value)
      Sets the specified value to the shaderSubgroupRotateClustered field.
    • shaderFloatControls2

      public VkPhysicalDeviceVulkan14Features shaderFloatControls2(boolean value)
      Sets the specified value to the shaderFloatControls2 field.
    • shaderExpectAssume

      public VkPhysicalDeviceVulkan14Features shaderExpectAssume(boolean value)
      Sets the specified value to the shaderExpectAssume field.
    • rectangularLines

      public VkPhysicalDeviceVulkan14Features rectangularLines(boolean value)
      Sets the specified value to the rectangularLines field.
    • bresenhamLines

      public VkPhysicalDeviceVulkan14Features bresenhamLines(boolean value)
      Sets the specified value to the bresenhamLines field.
    • smoothLines

      public VkPhysicalDeviceVulkan14Features smoothLines(boolean value)
      Sets the specified value to the smoothLines field.
    • stippledRectangularLines

      public VkPhysicalDeviceVulkan14Features stippledRectangularLines(boolean value)
      Sets the specified value to the stippledRectangularLines field.
    • stippledBresenhamLines

      public VkPhysicalDeviceVulkan14Features stippledBresenhamLines(boolean value)
      Sets the specified value to the stippledBresenhamLines field.
    • stippledSmoothLines

      public VkPhysicalDeviceVulkan14Features stippledSmoothLines(boolean value)
      Sets the specified value to the stippledSmoothLines field.
    • vertexAttributeInstanceRateDivisor

      public VkPhysicalDeviceVulkan14Features vertexAttributeInstanceRateDivisor(boolean value)
      Sets the specified value to the vertexAttributeInstanceRateDivisor field.
    • vertexAttributeInstanceRateZeroDivisor

      public VkPhysicalDeviceVulkan14Features vertexAttributeInstanceRateZeroDivisor(boolean value)
      Sets the specified value to the vertexAttributeInstanceRateZeroDivisor field.
    • indexTypeUint8

      public VkPhysicalDeviceVulkan14Features indexTypeUint8(boolean value)
      Sets the specified value to the indexTypeUint8 field.
    • dynamicRenderingLocalRead

      public VkPhysicalDeviceVulkan14Features dynamicRenderingLocalRead(boolean value)
      Sets the specified value to the dynamicRenderingLocalRead field.
    • maintenance5

      public VkPhysicalDeviceVulkan14Features maintenance5(boolean value)
      Sets the specified value to the maintenance5 field.
    • maintenance6

      public VkPhysicalDeviceVulkan14Features maintenance6(boolean value)
      Sets the specified value to the maintenance6 field.
    • pipelineProtectedAccess

      public VkPhysicalDeviceVulkan14Features pipelineProtectedAccess(boolean value)
      Sets the specified value to the pipelineProtectedAccess field.
    • pipelineRobustness

      public VkPhysicalDeviceVulkan14Features pipelineRobustness(boolean value)
      Sets the specified value to the pipelineRobustness field.
    • hostImageCopy

      public VkPhysicalDeviceVulkan14Features hostImageCopy(boolean value)
      Sets the specified value to the hostImageCopy field.
    • pushDescriptor

      public VkPhysicalDeviceVulkan14Features pushDescriptor(boolean value)
      Sets the specified value to the pushDescriptor field.
    • set

      public VkPhysicalDeviceVulkan14Features set(int sType, long pNext, boolean globalPriorityQuery, boolean shaderSubgroupRotate, boolean shaderSubgroupRotateClustered, boolean shaderFloatControls2, boolean shaderExpectAssume, boolean rectangularLines, boolean bresenhamLines, boolean smoothLines, boolean stippledRectangularLines, boolean stippledBresenhamLines, boolean stippledSmoothLines, boolean vertexAttributeInstanceRateDivisor, boolean vertexAttributeInstanceRateZeroDivisor, boolean indexTypeUint8, boolean dynamicRenderingLocalRead, boolean maintenance5, boolean maintenance6, boolean pipelineProtectedAccess, boolean pipelineRobustness, boolean hostImageCopy, boolean pushDescriptor)
      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

      public static VkPhysicalDeviceVulkan14Features malloc()
      Returns a new VkPhysicalDeviceVulkan14Features instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkPhysicalDeviceVulkan14Features calloc()
      Returns a new VkPhysicalDeviceVulkan14Features instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkPhysicalDeviceVulkan14Features create()
      Returns a new VkPhysicalDeviceVulkan14Features instance allocated with BufferUtils.
    • create

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

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

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

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

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

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

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

      public static VkPhysicalDeviceVulkan14Features malloc(MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan14Features instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceVulkan14Features calloc(MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan14Features instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

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

      public static VkPhysicalDeviceVulkan14Features.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan14Features.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().
    • nglobalPriorityQuery

      public static int nglobalPriorityQuery(long struct)
      Unsafe version of globalPriorityQuery().
    • nshaderSubgroupRotate

      public static int nshaderSubgroupRotate(long struct)
      Unsafe version of shaderSubgroupRotate().
    • nshaderSubgroupRotateClustered

      public static int nshaderSubgroupRotateClustered(long struct)
    • nshaderFloatControls2

      public static int nshaderFloatControls2(long struct)
      Unsafe version of shaderFloatControls2().
    • nshaderExpectAssume

      public static int nshaderExpectAssume(long struct)
      Unsafe version of shaderExpectAssume().
    • nrectangularLines

      public static int nrectangularLines(long struct)
      Unsafe version of rectangularLines().
    • nbresenhamLines

      public static int nbresenhamLines(long struct)
      Unsafe version of bresenhamLines().
    • nsmoothLines

      public static int nsmoothLines(long struct)
      Unsafe version of smoothLines().
    • nstippledRectangularLines

      public static int nstippledRectangularLines(long struct)
      Unsafe version of stippledRectangularLines().
    • nstippledBresenhamLines

      public static int nstippledBresenhamLines(long struct)
      Unsafe version of stippledBresenhamLines().
    • nstippledSmoothLines

      public static int nstippledSmoothLines(long struct)
      Unsafe version of stippledSmoothLines().
    • nvertexAttributeInstanceRateDivisor

      public static int nvertexAttributeInstanceRateDivisor(long struct)
    • nvertexAttributeInstanceRateZeroDivisor

      public static int nvertexAttributeInstanceRateZeroDivisor(long struct)
    • nindexTypeUint8

      public static int nindexTypeUint8(long struct)
      Unsafe version of indexTypeUint8().
    • ndynamicRenderingLocalRead

      public static int ndynamicRenderingLocalRead(long struct)
      Unsafe version of dynamicRenderingLocalRead().
    • nmaintenance5

      public static int nmaintenance5(long struct)
      Unsafe version of maintenance5().
    • nmaintenance6

      public static int nmaintenance6(long struct)
      Unsafe version of maintenance6().
    • npipelineProtectedAccess

      public static int npipelineProtectedAccess(long struct)
      Unsafe version of pipelineProtectedAccess().
    • npipelineRobustness

      public static int npipelineRobustness(long struct)
      Unsafe version of pipelineRobustness().
    • nhostImageCopy

      public static int nhostImageCopy(long struct)
      Unsafe version of hostImageCopy().
    • npushDescriptor

      public static int npushDescriptor(long struct)
      Unsafe version of pushDescriptor().
    • 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.
    • nglobalPriorityQuery

      public static void nglobalPriorityQuery(long struct, int value)
      Unsafe version of globalPriorityQuery.
    • nshaderSubgroupRotate

      public static void nshaderSubgroupRotate(long struct, int value)
      Unsafe version of shaderSubgroupRotate.
    • nshaderSubgroupRotateClustered

      public static void nshaderSubgroupRotateClustered(long struct, int value)
    • nshaderFloatControls2

      public static void nshaderFloatControls2(long struct, int value)
      Unsafe version of shaderFloatControls2.
    • nshaderExpectAssume

      public static void nshaderExpectAssume(long struct, int value)
      Unsafe version of shaderExpectAssume.
    • nrectangularLines

      public static void nrectangularLines(long struct, int value)
      Unsafe version of rectangularLines.
    • nbresenhamLines

      public static void nbresenhamLines(long struct, int value)
      Unsafe version of bresenhamLines.
    • nsmoothLines

      public static void nsmoothLines(long struct, int value)
      Unsafe version of smoothLines.
    • nstippledRectangularLines

      public static void nstippledRectangularLines(long struct, int value)
      Unsafe version of stippledRectangularLines.
    • nstippledBresenhamLines

      public static void nstippledBresenhamLines(long struct, int value)
      Unsafe version of stippledBresenhamLines.
    • nstippledSmoothLines

      public static void nstippledSmoothLines(long struct, int value)
      Unsafe version of stippledSmoothLines.
    • nvertexAttributeInstanceRateDivisor

      public static void nvertexAttributeInstanceRateDivisor(long struct, int value)
    • nvertexAttributeInstanceRateZeroDivisor

      public static void nvertexAttributeInstanceRateZeroDivisor(long struct, int value)
    • nindexTypeUint8

      public static void nindexTypeUint8(long struct, int value)
      Unsafe version of indexTypeUint8.
    • ndynamicRenderingLocalRead

      public static void ndynamicRenderingLocalRead(long struct, int value)
      Unsafe version of dynamicRenderingLocalRead.
    • nmaintenance5

      public static void nmaintenance5(long struct, int value)
      Unsafe version of maintenance5.
    • nmaintenance6

      public static void nmaintenance6(long struct, int value)
      Unsafe version of maintenance6.
    • npipelineProtectedAccess

      public static void npipelineProtectedAccess(long struct, int value)
      Unsafe version of pipelineProtectedAccess.
    • npipelineRobustness

      public static void npipelineRobustness(long struct, int value)
      Unsafe version of pipelineRobustness.
    • nhostImageCopy

      public static void nhostImageCopy(long struct, int value)
      Unsafe version of hostImageCopy.
    • npushDescriptor

      public static void npushDescriptor(long struct, int value)
      Unsafe version of pushDescriptor.