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

#include <GraphicsAdapterChild.hpp>

Inheritance diagram for Faro::IGraphicsAdapterChild:
Faro::IObject Faro::GraphicsBuffer Faro::GraphicsBufferContainer Faro::GraphicsCommandList Faro::GraphicsFence Faro::GraphicsPipeline Faro::GraphicsSemaphore Faro::GraphicsSwapchain Faro::GraphicsBufferVK Faro::GraphicsSwapchainImageContainer Faro::GraphicsCommandListVK Faro::GraphicsFenceVK Faro::GraphicsPipelineVK Faro::GraphicsSemaphoreVK Faro::GraphicsSwapchainVK

Public Member Functions

void Init (GraphicsAdapter *adapter)
 Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.
 
GraphicsAdapterGetAdapter ()
 
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.
 

Member Function Documentation

◆ Destroy()

void Faro::IObject::Destroy ( )
virtualinherited

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

Warning
When overriding, the super call must be performed last

Reimplemented in Faro::DataStream, Faro::DataStreamCopy, Faro::GraphicsBufferContainer, Faro::GraphicsSwapchain, Faro::GraphicsBufferVK, Faro::GraphicsCommandListVK, Faro::GraphicsFenceVK, Faro::GraphicsPipelineVK, Faro::GraphicsSemaphoreVK, and Faro::GraphicsSwapchainVK.

◆ GetAdapter()

GraphicsAdapter * Faro::IGraphicsAdapterChild::GetAdapter ( )

◆ GetTypedAdapter()

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

◆ Init() [1/2]

void Faro::IGraphicsAdapterChild::Init ( )
overrideprotectedvirtual

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

Reimplemented from Faro::IObject.

◆ Init() [2/2]

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.

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