|
Blender V4.5
|
#include <GHOST_ContextVK.hh>
Public Member Functions | |
Swap-chain resources | |
| void | destroy (VkDevice vk_device) |
Public Attributes | |
| VkFence | submission_fence = VK_NULL_HANDLE |
| VkSemaphore | acquire_semaphore = VK_NULL_HANDLE |
| GHOST_FrameDiscard | discard_pile |
Definition at line 80 of file GHOST_ContextVK.hh.
| void GHOST_Frame::destroy | ( | VkDevice | vk_device | ) |
Definition at line 143 of file GHOST_ContextVK.cc.
References acquire_semaphore, discard_pile, and submission_fence.
| VkSemaphore GHOST_Frame::acquire_semaphore = VK_NULL_HANDLE |
Semaphore for acquiring; being signaled when the swap chain image is ready to be updated.
Definition at line 87 of file GHOST_ContextVK.hh.
Referenced by destroy(), and GHOST_ContextVK::swapBuffers().
| GHOST_FrameDiscard GHOST_Frame::discard_pile |
Definition at line 89 of file GHOST_ContextVK.hh.
Referenced by destroy(), and GHOST_ContextVK::swapBuffers().
| VkFence GHOST_Frame::submission_fence = VK_NULL_HANDLE |
Fence signaled when "previous" use of the frame has finished rendering. When signaled the frame can acquire a new image and the semaphores can be reused.
Definition at line 85 of file GHOST_ContextVK.hh.
Referenced by destroy(), and GHOST_ContextVK::swapBuffers().