Class VkPhysicalDeviceToolProperties.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkPhysicalDeviceToolProperties>, NativeResource, Pointer
Direct Known Subclasses:
VkPhysicalDeviceToolPropertiesEXT.Buffer
Enclosing class:
VkPhysicalDeviceToolProperties

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

    • Buffer

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

      public ByteBuffer name()
      Returns:
      a ByteBuffer view of the name field.
    • nameString

      public String nameString()
      Returns:
      the null-terminated string stored in the name field.
    • version

      public ByteBuffer version()
      Returns:
      a ByteBuffer view of the version field.
    • versionString

      public String versionString()
      Returns:
      the null-terminated string stored in the version field.
    • purposes

      public int purposes()
      Returns:
      the value of the purposes field.
    • description

      public ByteBuffer description()
      Returns:
      a ByteBuffer view of the description field.
    • descriptionString

      public String descriptionString()
      Returns:
      the null-terminated string stored in the description field.
    • layer

      public ByteBuffer layer()
      Returns:
      a ByteBuffer view of the layer field.
    • layerString

      public String layerString()
      Returns:
      the null-terminated string stored in the layer field.
    • sType

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

      public VkPhysicalDeviceToolProperties.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES value to the sType field.
    • pNext

      public VkPhysicalDeviceToolProperties.Buffer pNext(long value)
      Sets the specified value to the pNext field.