Blender V4.5
GHOST_Frame Struct Reference

#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

Detailed Description

Definition at line 80 of file GHOST_ContextVK.hh.

Member Function Documentation

◆ destroy()

void GHOST_Frame::destroy ( VkDevice vk_device)

Definition at line 143 of file GHOST_ContextVK.cc.

References acquire_semaphore, discard_pile, and submission_fence.

Member Data Documentation

◆ acquire_semaphore

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().

◆ discard_pile

GHOST_FrameDiscard GHOST_Frame::discard_pile

Definition at line 89 of file GHOST_ContextVK.hh.

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

◆ submission_fence

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().


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