![]() |
Faro Engine 0.0.0.b519570 (main)
|
Marker to be placed on an adapter command queue. Allows for synchronization between CPU and graphics adapter. More...
#include <GraphicsFence.hpp>
Public Member Functions | |
| virtual void | Trigger ()=0 |
| Place a synchronization marker on the command queue of the related GraphicsAdapter. | |
| virtual bool | HasFinished ()=0 |
| Check wether or not the previously marker (Triggered by GraphicsFence::Trigger) has been hit yet. | |
| virtual void | WaitForFinish ()=0 |
| Wait for the previously marker (Triggered by GraphicsFence::Trigger) to be hit. | |
| void | Init (GraphicsAdapter *adapter) |
| Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization. | |
| GraphicsAdapter * | GetAdapter () |
| template<class T > | |
| T * | GetTypedAdapter () |
| virtual void | Destroy () |
| Run the destruction logic of this class. This also frees its memory. | |
Protected Member Functions | |
| void | Init () override |
| Run the initialization logic of this object. Should be overriden by deriving classes. | |
Marker to be placed on an adapter command queue. Allows for synchronization between CPU and graphics adapter.
|
virtualinherited |
Run the destruction logic of this class. This also frees its memory.
Reimplemented in Faro::DataStream, Faro::DataStreamCopy, Faro::GraphicsBufferContainer, Faro::GraphicsSwapchain, Faro::GraphicsBufferVK, Faro::GraphicsCommandListVK, Faro::GraphicsFenceVK, Faro::GraphicsPipelineVK, Faro::GraphicsSemaphoreVK, and Faro::GraphicsSwapchainVK.
|
inherited |
|
inlineinherited |
|
pure virtual |
Check wether or not the previously marker (Triggered by GraphicsFence::Trigger) has been hit yet.
Implemented in Faro::GraphicsFenceVK.
|
overrideprotectedvirtualinherited |
Run the initialization logic of this object. Should be overriden by deriving classes.
Reimplemented from Faro::IObject.
|
inherited |
Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.
| adapter | Graphics adapter to initialize this child on. |
|
pure virtual |
Place a synchronization marker on the command queue of the related GraphicsAdapter.
Implemented in Faro::GraphicsFenceVK.
|
pure virtual |
Wait for the previously marker (Triggered by GraphicsFence::Trigger) to be hit.
Implemented in Faro::GraphicsFenceVK.