Class VkFormatProperties3.Buffer

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

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

    • Buffer

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

      @NativeType("VkStructureType") public int sType()
      Returns:
      the value of the sType field.
    • pNext

      @NativeType("void *") public long pNext()
      Returns:
      the value of the pNext field.
    • linearTilingFeatures

      @NativeType("VkFormatFeatureFlags2") public long linearTilingFeatures()
      Returns:
      the value of the linearTilingFeatures field.
    • optimalTilingFeatures

      @NativeType("VkFormatFeatureFlags2") public long optimalTilingFeatures()
      Returns:
      the value of the optimalTilingFeatures field.
    • bufferFeatures

      @NativeType("VkFormatFeatureFlags2") public long bufferFeatures()
      Returns:
      the value of the bufferFeatures field.
    • sType

      public VkFormatProperties3.Buffer sType(@NativeType("VkStructureType") int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkFormatProperties3.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_FORMAT_PROPERTIES_3 value to the sType field.
    • pNext

      public VkFormatProperties3.Buffer pNext(@NativeType("void *") long value)
      Sets the specified value to the pNext field.