Class VkDeviceFaultCountsEXT.Buffer

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

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

    • Buffer

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

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • addressInfoCount

      public int addressInfoCount()
      Returns:
      the value of the addressInfoCount field.
    • vendorInfoCount

      public int vendorInfoCount()
      Returns:
      the value of the vendorInfoCount field.
    • vendorBinarySize

      public long vendorBinarySize()
      Returns:
      the value of the vendorBinarySize field.
    • sType

      public VkDeviceFaultCountsEXT.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkDeviceFaultCountsEXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT value to the sType field.
    • pNext

      public VkDeviceFaultCountsEXT.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • addressInfoCount

      public VkDeviceFaultCountsEXT.Buffer addressInfoCount(int value)
      Sets the specified value to the addressInfoCount field.
    • vendorInfoCount

      public VkDeviceFaultCountsEXT.Buffer vendorInfoCount(int value)
      Sets the specified value to the vendorInfoCount field.
    • vendorBinarySize

      public VkDeviceFaultCountsEXT.Buffer vendorBinarySize(long value)
      Sets the specified value to the vendorBinarySize field.