Blender V5.0
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 82 of file GHOST_ContextVK.hh.

Member Function Documentation

◆ destroy()

void GHOST_Frame::destroy ( VkDevice vk_device)

Definition at line 137 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 89 of file GHOST_ContextVK.hh.

Referenced by destroy(), GHOST_ContextVK::swapBufferAcquire(), and GHOST_ContextVK::swapBufferRelease().

◆ discard_pile

GHOST_FrameDiscard GHOST_Frame::discard_pile

Definition at line 91 of file GHOST_ContextVK.hh.

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

◆ 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 87 of file GHOST_ContextVK.hh.

Referenced by destroy(), GHOST_ContextVK::swapBufferAcquire(), and GHOST_ContextVK::swapBufferRelease().


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