Class VkSurfaceCapabilitiesKHR.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new VkSurfaceCapabilitiesKHR.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 VkSurfaceCapabilitiesKHR.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 Detail

      • minImageCount

        public int minImageCount()
        Returns the value of the minImageCount field.
      • maxImageCount

        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

        public int maxImageArrayLayers()
        Returns the value of the maxImageArrayLayers field.
      • supportedTransforms

        public int supportedTransforms()
        Returns the value of the supportedTransforms field.
      • currentTransform

        public int currentTransform()
        Returns the value of the currentTransform field.
      • supportedCompositeAlpha

        public int supportedCompositeAlpha()
        Returns the value of the supportedCompositeAlpha field.
      • supportedUsageFlags

        public int supportedUsageFlags()
        Returns the value of the supportedUsageFlags field.