Class VkSurfaceCapabilities2EXT.Buffer

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

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

    • Buffer

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

      @NativeType("uint32_t") public int minImageCount()
      Returns:
      the value of the minImageCount field.
    • maxImageCount

      @NativeType("uint32_t") public int maxImageCount()
      Returns:
      the value of the maxImageCount field.
    • currentExtent

      public VkExtent2D currentExtent()
      Returns:
      a VkExtent2D view of the currentExtent field.
    • minImageExtent

      public VkExtent2D minImageExtent()
      Returns:
      a VkExtent2D view of the minImageExtent field.
    • maxImageExtent

      public VkExtent2D maxImageExtent()
      Returns:
      a VkExtent2D view of the maxImageExtent field.
    • maxImageArrayLayers

      @NativeType("uint32_t") public int maxImageArrayLayers()
      Returns:
      the value of the maxImageArrayLayers field.
    • supportedTransforms

      @NativeType("VkSurfaceTransformFlagsKHR") public int supportedTransforms()
      Returns:
      the value of the supportedTransforms field.
    • currentTransform

      @NativeType("VkSurfaceTransformFlagBitsKHR") public int currentTransform()
      Returns:
      the value of the currentTransform field.
    • supportedCompositeAlpha

      @NativeType("VkCompositeAlphaFlagsKHR") public int supportedCompositeAlpha()
      Returns:
      the value of the supportedCompositeAlpha field.
    • supportedUsageFlags

      @NativeType("VkImageUsageFlags") public int supportedUsageFlags()
      Returns:
      the value of the supportedUsageFlags field.
    • supportedSurfaceCounters

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

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

      public VkSurfaceCapabilities2EXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT value to the sType field.
    • pNext

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