Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Faro::GraphicsFenceVK Class Reference

#include <GraphicsFenceVK.hpp>

Inheritance diagram for Faro::GraphicsFenceVK:
Faro::GraphicsFence Faro::IGraphicsAdapterChild Faro::IObject

Public Member Functions

void Init () override
 Run the initialization logic of this object. Should be overriden by deriving classes.
 
void Destroy () override
 Run the destruction logic of this class. This also frees its memory.
 
void Trigger () override
 Place a synchronization marker on the command queue of the related GraphicsAdapter.
 
bool HasFinished () override
 Check wether or not the previously marker (Triggered by GraphicsFence::Trigger) has been hit yet.
 
void WaitForFinish () override
 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.
 
void Init () override
 Run the initialization logic of this object. Should be overriden by deriving classes.
 
GraphicsAdapterGetAdapter ()
 
template<class T >
T * GetTypedAdapter ()
 

Member Function Documentation

◆ Destroy()

void Faro::GraphicsFenceVK::Destroy ( )
overridevirtual

Run the destruction logic of this class. This also frees its memory.

Warning
When overriding, the super call must be performed last

Reimplemented from Faro::IObject.

◆ GetAdapter()

GraphicsAdapter * Faro::IGraphicsAdapterChild::GetAdapter ( )
inherited

◆ GetTypedAdapter()

template<class T >
T * Faro::IGraphicsAdapterChild::GetTypedAdapter ( )
inlineinherited

◆ HasFinished()

bool Faro::GraphicsFenceVK::HasFinished ( )
overridevirtual

Check wether or not the previously marker (Triggered by GraphicsFence::Trigger) has been hit yet.

Returns
true The marker has been hit
false The marker has not been hit yet

Implements Faro::GraphicsFence.

◆ Init() [1/3]

void Faro::IGraphicsAdapterChild::Init ( )
overridevirtual

Run the initialization logic of this object. Should be overriden by deriving classes.

Reimplemented from Faro::IObject.

◆ Init() [2/3]

void Faro::GraphicsFenceVK::Init ( )
overridevirtual

Run the initialization logic of this object. Should be overriden by deriving classes.

Reimplemented from Faro::IObject.

◆ Init() [3/3]

void Faro::IGraphicsAdapterChild::Init ( GraphicsAdapter adapter)

Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.

Parameters
adapterGraphics adapter to initialize this child on.

◆ Trigger()

void Faro::GraphicsFenceVK::Trigger ( )
overridevirtual

Place a synchronization marker on the command queue of the related GraphicsAdapter.

Implements Faro::GraphicsFence.

◆ WaitForFinish()

void Faro::GraphicsFenceVK::WaitForFinish ( )
overridevirtual

Wait for the previously marker (Triggered by GraphicsFence::Trigger) to be hit.

Implements Faro::GraphicsFence.


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