XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALDeviceVulkan::DeferredDeletionQueue Class Reference

Public Member Functions

 DeferredDeletionQueue (xiiGALDeviceVulkan *pDeviceVulkan)
 
void EnqueueResource (vk::ObjectType vkObjectType, void *pObject)
 
void EnqueueResource (vk::ObjectType vkObjectType, void *pObject, xiiVulkanAllocation allocation)
 
void EnqueueResource (vk::ObjectType vkObjectType, void *pObject, vk::DeviceMemory vkExternalMemory)
 
void EnqueueResource (xiiGALSemaphorePoolVulkan *pSemaphorePool, vk::Semaphore vkSemaphore)
 
void EnqueueResource (xiiGALDescriptorSetPoolVulkan *pDescriptorSetPool, vk::DescriptorPool vkDescriptorPool)
 
void EnqueueResource (xiiGALFencePoolVulkan *pFencePool, vk::Fence vkFence)
 
void ReleaseResources (bool bForceReleaseAll=false)
 
XII_ALWAYS_INLINE bool IsEmpty () const
 
XII_ALWAYS_INLINE bool HasTimelineSemaphore () const
 
XII_ALWAYS_INLINE vk::Semaphore GetVulkanTimelineSemaphore () const
 
XII_ALWAYS_INLINE xiiUInt64 ReserveSubmitValue ()
 Reserve and return the next submit value atomically. This avoids holding the deletion queue mutex during reservation and reduces contention. The value returned is the value that will be signaled for the next timeline submit.
 

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