Record Class VkPhysicalDeviceVulkan14Features

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkPhysicalDeviceVulkan14Features
All Implemented Interfaces:
IPointer, IVkPhysicalDeviceVulkan14Features

@ValueBasedCandidate @UnsafeConstructor public record VkPhysicalDeviceVulkan14Features(@NotNull MemorySegment segment) extends Record implements IVkPhysicalDeviceVulkan14Features

Represents a pointer to a VkPhysicalDeviceVulkan14Features structure in native memory.

Structure

typedef struct VkPhysicalDeviceVulkan14Features {
    VkStructureType sType;
    void* pNext; // optional
    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;
} VkPhysicalDeviceVulkan14Features;

Auto initialization

This structure has the following members that can be automatically initialized:

  • sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES

The allocate (allocate(Arena), allocate(Arena, long)) functions will automatically initialize these fields. Also, you may call autoInit() to initialize these fields manually for non-allocated instances.

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$sType

      public static final MemoryLayout.PathElement PATH$sType
    • PATH$pNext

      public static final MemoryLayout.PathElement PATH$pNext
    • PATH$globalPriorityQuery

      public static final MemoryLayout.PathElement PATH$globalPriorityQuery
    • PATH$shaderSubgroupRotate

      public static final MemoryLayout.PathElement PATH$shaderSubgroupRotate
    • PATH$shaderSubgroupRotateClustered

      public static final MemoryLayout.PathElement PATH$shaderSubgroupRotateClustered
    • PATH$shaderFloatControls2

      public static final MemoryLayout.PathElement PATH$shaderFloatControls2
    • PATH$shaderExpectAssume

      public static final MemoryLayout.PathElement PATH$shaderExpectAssume
    • PATH$rectangularLines

      public static final MemoryLayout.PathElement PATH$rectangularLines
    • PATH$bresenhamLines

      public static final MemoryLayout.PathElement PATH$bresenhamLines
    • PATH$smoothLines

      public static final MemoryLayout.PathElement PATH$smoothLines
    • PATH$stippledRectangularLines

      public static final MemoryLayout.PathElement PATH$stippledRectangularLines
    • PATH$stippledBresenhamLines

      public static final MemoryLayout.PathElement PATH$stippledBresenhamLines
    • PATH$stippledSmoothLines

      public static final MemoryLayout.PathElement PATH$stippledSmoothLines
    • PATH$vertexAttributeInstanceRateDivisor

      public static final MemoryLayout.PathElement PATH$vertexAttributeInstanceRateDivisor
    • PATH$vertexAttributeInstanceRateZeroDivisor

      public static final MemoryLayout.PathElement PATH$vertexAttributeInstanceRateZeroDivisor
    • PATH$indexTypeUint8

      public static final MemoryLayout.PathElement PATH$indexTypeUint8
    • PATH$dynamicRenderingLocalRead

      public static final MemoryLayout.PathElement PATH$dynamicRenderingLocalRead
    • PATH$maintenance5

      public static final MemoryLayout.PathElement PATH$maintenance5
    • PATH$maintenance6

      public static final MemoryLayout.PathElement PATH$maintenance6
    • PATH$pipelineProtectedAccess

      public static final MemoryLayout.PathElement PATH$pipelineProtectedAccess
    • PATH$pipelineRobustness

      public static final MemoryLayout.PathElement PATH$pipelineRobustness
    • PATH$hostImageCopy

      public static final MemoryLayout.PathElement PATH$hostImageCopy
    • PATH$pushDescriptor

      public static final MemoryLayout.PathElement PATH$pushDescriptor
    • LAYOUT$sType

      public static final ValueLayout.OfInt LAYOUT$sType
    • LAYOUT$pNext

      public static final AddressLayout LAYOUT$pNext
    • LAYOUT$globalPriorityQuery

      public static final ValueLayout.OfInt LAYOUT$globalPriorityQuery
    • LAYOUT$shaderSubgroupRotate

      public static final ValueLayout.OfInt LAYOUT$shaderSubgroupRotate
    • LAYOUT$shaderSubgroupRotateClustered

      public static final ValueLayout.OfInt LAYOUT$shaderSubgroupRotateClustered
    • LAYOUT$shaderFloatControls2

      public static final ValueLayout.OfInt LAYOUT$shaderFloatControls2
    • LAYOUT$shaderExpectAssume

      public static final ValueLayout.OfInt LAYOUT$shaderExpectAssume
    • LAYOUT$rectangularLines

      public static final ValueLayout.OfInt LAYOUT$rectangularLines
    • LAYOUT$bresenhamLines

      public static final ValueLayout.OfInt LAYOUT$bresenhamLines
    • LAYOUT$smoothLines

      public static final ValueLayout.OfInt LAYOUT$smoothLines
    • LAYOUT$stippledRectangularLines

      public static final ValueLayout.OfInt LAYOUT$stippledRectangularLines
    • LAYOUT$stippledBresenhamLines

      public static final ValueLayout.OfInt LAYOUT$stippledBresenhamLines
    • LAYOUT$stippledSmoothLines

      public static final ValueLayout.OfInt LAYOUT$stippledSmoothLines
    • LAYOUT$vertexAttributeInstanceRateDivisor

      public static final ValueLayout.OfInt LAYOUT$vertexAttributeInstanceRateDivisor
    • LAYOUT$vertexAttributeInstanceRateZeroDivisor

      public static final ValueLayout.OfInt LAYOUT$vertexAttributeInstanceRateZeroDivisor
    • LAYOUT$indexTypeUint8

      public static final ValueLayout.OfInt LAYOUT$indexTypeUint8
    • LAYOUT$dynamicRenderingLocalRead

      public static final ValueLayout.OfInt LAYOUT$dynamicRenderingLocalRead
    • LAYOUT$maintenance5

      public static final ValueLayout.OfInt LAYOUT$maintenance5
    • LAYOUT$maintenance6

      public static final ValueLayout.OfInt LAYOUT$maintenance6
    • LAYOUT$pipelineProtectedAccess

      public static final ValueLayout.OfInt LAYOUT$pipelineProtectedAccess
    • LAYOUT$pipelineRobustness

      public static final ValueLayout.OfInt LAYOUT$pipelineRobustness
    • LAYOUT$hostImageCopy

      public static final ValueLayout.OfInt LAYOUT$hostImageCopy
    • LAYOUT$pushDescriptor

      public static final ValueLayout.OfInt LAYOUT$pushDescriptor
    • SIZE$sType

      public static final long SIZE$sType
    • SIZE$pNext

      public static final long SIZE$pNext
    • SIZE$globalPriorityQuery

      public static final long SIZE$globalPriorityQuery
    • SIZE$shaderSubgroupRotate

      public static final long SIZE$shaderSubgroupRotate
    • SIZE$shaderSubgroupRotateClustered

      public static final long SIZE$shaderSubgroupRotateClustered
    • SIZE$shaderFloatControls2

      public static final long SIZE$shaderFloatControls2
    • SIZE$shaderExpectAssume

      public static final long SIZE$shaderExpectAssume
    • SIZE$rectangularLines

      public static final long SIZE$rectangularLines
    • SIZE$bresenhamLines

      public static final long SIZE$bresenhamLines
    • SIZE$smoothLines

      public static final long SIZE$smoothLines
    • SIZE$stippledRectangularLines

      public static final long SIZE$stippledRectangularLines
    • SIZE$stippledBresenhamLines

      public static final long SIZE$stippledBresenhamLines
    • SIZE$stippledSmoothLines

      public static final long SIZE$stippledSmoothLines
    • SIZE$vertexAttributeInstanceRateDivisor

      public static final long SIZE$vertexAttributeInstanceRateDivisor
    • SIZE$vertexAttributeInstanceRateZeroDivisor

      public static final long SIZE$vertexAttributeInstanceRateZeroDivisor
    • SIZE$indexTypeUint8

      public static final long SIZE$indexTypeUint8
    • SIZE$dynamicRenderingLocalRead

      public static final long SIZE$dynamicRenderingLocalRead
    • SIZE$maintenance5

      public static final long SIZE$maintenance5
    • SIZE$maintenance6

      public static final long SIZE$maintenance6
    • SIZE$pipelineProtectedAccess

      public static final long SIZE$pipelineProtectedAccess
    • SIZE$pipelineRobustness

      public static final long SIZE$pipelineRobustness
    • SIZE$hostImageCopy

      public static final long SIZE$hostImageCopy
    • SIZE$pushDescriptor

      public static final long SIZE$pushDescriptor
    • OFFSET$sType

      public static final long OFFSET$sType
    • OFFSET$pNext

      public static final long OFFSET$pNext
    • OFFSET$globalPriorityQuery

      public static final long OFFSET$globalPriorityQuery
    • OFFSET$shaderSubgroupRotate

      public static final long OFFSET$shaderSubgroupRotate
    • OFFSET$shaderSubgroupRotateClustered

      public static final long OFFSET$shaderSubgroupRotateClustered
    • OFFSET$shaderFloatControls2

      public static final long OFFSET$shaderFloatControls2
    • OFFSET$shaderExpectAssume

      public static final long OFFSET$shaderExpectAssume
    • OFFSET$rectangularLines

      public static final long OFFSET$rectangularLines
    • OFFSET$bresenhamLines

      public static final long OFFSET$bresenhamLines
    • OFFSET$smoothLines

      public static final long OFFSET$smoothLines
    • OFFSET$stippledRectangularLines

      public static final long OFFSET$stippledRectangularLines
    • OFFSET$stippledBresenhamLines

      public static final long OFFSET$stippledBresenhamLines
    • OFFSET$stippledSmoothLines

      public static final long OFFSET$stippledSmoothLines
    • OFFSET$vertexAttributeInstanceRateDivisor

      public static final long OFFSET$vertexAttributeInstanceRateDivisor
    • OFFSET$vertexAttributeInstanceRateZeroDivisor

      public static final long OFFSET$vertexAttributeInstanceRateZeroDivisor
    • OFFSET$indexTypeUint8

      public static final long OFFSET$indexTypeUint8
    • OFFSET$dynamicRenderingLocalRead

      public static final long OFFSET$dynamicRenderingLocalRead
    • OFFSET$maintenance5

      public static final long OFFSET$maintenance5
    • OFFSET$maintenance6

      public static final long OFFSET$maintenance6
    • OFFSET$pipelineProtectedAccess

      public static final long OFFSET$pipelineProtectedAccess
    • OFFSET$pipelineRobustness

      public static final long OFFSET$pipelineRobustness
    • OFFSET$hostImageCopy

      public static final long OFFSET$hostImageCopy
    • OFFSET$pushDescriptor

      public static final long OFFSET$pushDescriptor
  • Constructor Details

    • VkPhysicalDeviceVulkan14Features

      public VkPhysicalDeviceVulkan14Features(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a VkPhysicalDeviceVulkan14Features record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details