Class VkFormatProperties4KHR.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkFormatProperties4KHR.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 VkFormatProperties4KHR.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("VkFormatFeatureFlags4KHR") public long linearTilingFeatures()
      Returns:
      the value of the linearTilingFeatures field.
    • optimalTilingFeatures

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

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

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

      public VkFormatProperties4KHR.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_FORMAT_PROPERTIES_4_KHR value to the sType field.
    • pNext

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