Record Class VkCoarseSampleOrderCustomNV

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkCoarseSampleOrderCustomNV
All Implemented Interfaces:
IPointer, IVkCoarseSampleOrderCustomNV

@ValueBasedCandidate @UnsafeConstructor public record VkCoarseSampleOrderCustomNV(@NotNull MemorySegment segment) extends Record implements IVkCoarseSampleOrderCustomNV

Represents a pointer to a VkCoarseSampleOrderCustomNV structure in native memory.

Structure

typedef struct VkCoarseSampleOrderCustomNV {
    VkShadingRatePaletteEntryNV shadingRate;
    uint32_t sampleCount;
    uint32_t sampleLocationCount;
    VkCoarseSampleLocationNV const* pSampleLocations;
} VkCoarseSampleOrderCustomNV;

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$shadingRate

      public static final MemoryLayout.PathElement PATH$shadingRate
    • PATH$sampleCount

      public static final MemoryLayout.PathElement PATH$sampleCount
    • PATH$sampleLocationCount

      public static final MemoryLayout.PathElement PATH$sampleLocationCount
    • PATH$pSampleLocations

      public static final MemoryLayout.PathElement PATH$pSampleLocations
    • LAYOUT$shadingRate

      public static final ValueLayout.OfInt LAYOUT$shadingRate
    • LAYOUT$sampleCount

      public static final ValueLayout.OfInt LAYOUT$sampleCount
    • LAYOUT$sampleLocationCount

      public static final ValueLayout.OfInt LAYOUT$sampleLocationCount
    • LAYOUT$pSampleLocations

      public static final AddressLayout LAYOUT$pSampleLocations
    • SIZE$shadingRate

      public static final long SIZE$shadingRate
    • SIZE$sampleCount

      public static final long SIZE$sampleCount
    • SIZE$sampleLocationCount

      public static final long SIZE$sampleLocationCount
    • SIZE$pSampleLocations

      public static final long SIZE$pSampleLocations
    • OFFSET$shadingRate

      public static final long OFFSET$shadingRate
    • OFFSET$sampleCount

      public static final long OFFSET$sampleCount
    • OFFSET$sampleLocationCount

      public static final long OFFSET$sampleLocationCount
    • OFFSET$pSampleLocations

      public static final long OFFSET$pSampleLocations
  • Constructor Details

    • VkCoarseSampleOrderCustomNV

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