Record Class VkDeviceFaultAddressInfoEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkDeviceFaultAddressInfoEXT
All Implemented Interfaces:
IPointer, IVkDeviceFaultAddressInfoEXT

@ValueBasedCandidate @UnsafeConstructor public record VkDeviceFaultAddressInfoEXT(@NotNull MemorySegment segment) extends Record implements IVkDeviceFaultAddressInfoEXT

Represents a pointer to a VkDeviceFaultAddressInfoEXT structure in native memory.

Structure

typedef struct VkDeviceFaultAddressInfoEXT {
    VkDeviceFaultAddressTypeEXT addressType;
    VkDeviceAddress reportedAddress;
    VkDeviceSize addressPrecision;
} VkDeviceFaultAddressInfoEXT;

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

      public static final MemoryLayout.PathElement PATH$addressType
    • PATH$reportedAddress

      public static final MemoryLayout.PathElement PATH$reportedAddress
    • PATH$addressPrecision

      public static final MemoryLayout.PathElement PATH$addressPrecision
    • LAYOUT$addressType

      public static final ValueLayout.OfInt LAYOUT$addressType
    • LAYOUT$reportedAddress

      public static final ValueLayout.OfLong LAYOUT$reportedAddress
    • LAYOUT$addressPrecision

      public static final ValueLayout.OfLong LAYOUT$addressPrecision
    • SIZE$addressType

      public static final long SIZE$addressType
    • SIZE$reportedAddress

      public static final long SIZE$reportedAddress
    • SIZE$addressPrecision

      public static final long SIZE$addressPrecision
    • OFFSET$addressType

      public static final long OFFSET$addressType
    • OFFSET$reportedAddress

      public static final long OFFSET$reportedAddress
    • OFFSET$addressPrecision

      public static final long OFFSET$addressPrecision
  • Constructor Details

    • VkDeviceFaultAddressInfoEXT

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