Blender V5.3
GHOST_Frame Struct Reference

#include <GHOST_ContextVK.hh>

Public Member Functions

Swap-chain resources
void destroy (VkDevice vk_device, const volk::VolkDeviceTable &functions)

Public Attributes

VkFence submission_fence = VK_NULL_HANDLE
VkSemaphore acquire_semaphore = VK_NULL_HANDLE
GHOST_FrameDiscard discard_pile

Detailed Description

Definition at line 93 of file GHOST_ContextVK.hh.

Member Function Documentation

◆ destroy()

void GHOST_Frame::destroy ( VkDevice vk_device,
const volk::VolkDeviceTable & functions )

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 100 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 102 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 98 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: