Class VkDeviceFaultAddressInfoEXT.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkDeviceFaultAddressInfoEXT>, NativeResource, Pointer
Enclosing class:
VkDeviceFaultAddressInfoEXT

public static class VkDeviceFaultAddressInfoEXT.Buffer extends StructBuffer<VkDeviceFaultAddressInfoEXT,VkDeviceFaultAddressInfoEXT.Buffer> implements NativeResource
An array of VkDeviceFaultAddressInfoEXT structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkDeviceFaultAddressInfoEXT.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDeviceFaultAddressInfoEXT.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • addressType

      public int addressType()
      Returns:
      the value of the addressType field.
    • reportedAddress

      public long reportedAddress()
      Returns:
      the value of the reportedAddress field.
    • addressPrecision

      public long addressPrecision()
      Returns:
      the value of the addressPrecision field.
    • addressType

      public VkDeviceFaultAddressInfoEXT.Buffer addressType(int value)
      Sets the specified value to the addressType field.
    • reportedAddress

      public VkDeviceFaultAddressInfoEXT.Buffer reportedAddress(long value)
      Sets the specified value to the reportedAddress field.
    • addressPrecision

      public VkDeviceFaultAddressInfoEXT.Buffer addressPrecision(long value)
      Sets the specified value to the addressPrecision field.