Class VkPresentRegionsKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPresentRegionsKHR
    extends Struct
    implements NativeResource
    Structure hint of rectangular regions changed by vkQueuePresentKHR.
    Valid Usage
    Valid Usage (Implicit)
    See Also


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • swapchainCount – the number of swapchains being presented to by this command.
    • pRegionsNULL or a pointer to an array of VkPresentRegionKHR elements with swapchainCount entries. If not NULL, each element of pRegions contains the region that has changed since the last present to the swapchain in the corresponding entry in the VkPresentInfoKHR::pSwapchains array.


     struct VkPresentRegionsKHR {
         VkStructureType sType;
         void const * pNext;
         uint32_t swapchainCount;
         VkPresentRegionKHR const * pRegions;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkPresentRegionsKHR

        public VkPresentRegionsKHR​(java.nio.ByteBuffer container)
        Creates a VkPresentRegionsKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.