Class VkBindImageMemorySwapchainInfoKHR

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

    public class VkBindImageMemorySwapchainInfoKHR
    extends Struct
    implements NativeResource
    Structure specifying swapchain image memory to bind to.

    If swapchain is not NULL, the swapchain and imageIndex are used to determine the memory that the image is bound to, instead of memory and memoryOffset.

    Memory can be bound to a swapchain and use the pDeviceIndices or pSplitInstanceBindRegions members of VkBindImageMemoryDeviceGroupInfo.

    Valid Usage
    • imageIndex must be less than the number of images in swapchain
    Valid Usage (Implicit)
    Host Synchronization
    • Host access to swapchain must be externally synchronized

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • swapchainNULL_HANDLE or a swapchain handle.
    • imageIndex – an image index within swapchain.


     struct VkBindImageMemorySwapchainInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkSwapchainKHR swapchain;
         uint32_t imageIndex;