Class Fence#
Defined in File Fence.h
Inheritance Relationships#
Derived Type#
public TRAP::Graphics::API::VulkanFence
(Class VulkanFence)
Class Documentation#
-
class Fence#
Subclassed by TRAP::Graphics::API::VulkanFence
Public Functions
-
virtual ~Fence()#
Destructor.
-
constexpr bool IsSubmitted() const noexcept#
Retrieve whether the Fence was submitted or not.
- Returns:
True if Fence was submitted, false otherwise.
-
virtual RendererAPI::FenceStatus GetStatus() = 0#
Retrieve the current status of the fence.
- Returns:
Fence status.
-
virtual void Wait() = 0#
Wait for the fence to be signaled.
Waits for the fence to be signaled.
Resets the fence.
-
virtual void ResetState() = 0#
Reset the fence to the unsignalled state.
Note
If fence is already in unsignalled state then this function has no effect.
Public Static Functions
Protected Functions
Protected Attributes
-
bool m_submitted = false#
-
virtual ~Fence()#