Blender V4.5
GHOST_SwapchainImage Struct Reference

#include <GHOST_ContextVK.hh>

Public Member Functions

Swap-chain resources
void destroy (VkDevice vk_device)

Public Attributes

VkImage vk_image = VK_NULL_HANDLE
VkSemaphore present_semaphore = VK_NULL_HANDLE

Detailed Description

Definition at line 68 of file GHOST_ContextVK.hh.

Member Function Documentation

◆ destroy()

void GHOST_SwapchainImage::destroy ( VkDevice vk_device)

Definition at line 122 of file GHOST_ContextVK.cc.

References present_semaphore, and vk_image.

Member Data Documentation

◆ present_semaphore

VkSemaphore GHOST_SwapchainImage::present_semaphore = VK_NULL_HANDLE

Semaphore for presenting; being signaled when the swap chain image is ready to be presented.

Definition at line 75 of file GHOST_ContextVK.hh.

Referenced by destroy(), and GHOST_ContextVK::swapBuffers().

◆ vk_image

VkImage GHOST_SwapchainImage::vk_image = VK_NULL_HANDLE

Swap-chain image (owned by the swapchain).

Definition at line 70 of file GHOST_ContextVK.hh.

Referenced by destroy(), and GHOST_ContextVK::swapBuffers().


The documentation for this struct was generated from the following files: