Class VkDeviceOrHostAddressConstAMDX.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkDeviceOrHostAddressConstAMDX.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 VkDeviceOrHostAddressConstAMDX.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

    • deviceAddress

      public long deviceAddress()
      Returns:
      the value of the deviceAddress field.
    • hostAddress

      public long hostAddress()
      Returns:
      the value of the hostAddress field.
    • deviceAddress

      public VkDeviceOrHostAddressConstAMDX.Buffer deviceAddress(long value)
      Sets the specified value to the deviceAddress field.
    • hostAddress

      public VkDeviceOrHostAddressConstAMDX.Buffer hostAddress(long value)
      Sets the specified value to the hostAddress field.