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

#include <GraphicsSwapchainVK.hpp>

Inheritance diagram for Faro::GraphicsSwapchainVK:
Faro::GraphicsSwapchain Faro::IGraphicsAdapterChild Faro::IObject

Public Member Functions

void Init (GraphicsAdapter *adapter, Window *window) override
 
void Destroy () override
 Run the destruction logic of this class. This also frees its memory.
 
void Present () override
 
VkImage GetBackbufferImage (uint32 index)
 
void Init (GraphicsAdapter *adapter)
 Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.
 
GraphicsSemaphoreGetSyncPoint (uint8 imageIndex)
 
GraphicsAdapterGetAdapter ()
 
template<class T >
T * GetTypedAdapter ()
 

Public Attributes

GraphicsSwapchainImageContainerbackbuffer = nullptr
 

Protected Member Functions

void Init () override
 Run the initialization logic of this object. Should be overriden by deriving classes.
 
void CreateBackbuffer ()
 

Protected Attributes

Array< GraphicsSemaphore * > bufferReadySync
 

Member Function Documentation

◆ CreateBackbuffer()

void Faro::GraphicsSwapchain::CreateBackbuffer ( )
protectedinherited

◆ Destroy()

void Faro::GraphicsSwapchainVK::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::GraphicsSwapchain.

◆ GetAdapter()

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

◆ GetBackbufferImage()

VkImage Faro::GraphicsSwapchainVK::GetBackbufferImage ( uint32  index)

◆ GetSyncPoint()

GraphicsSemaphore * Faro::GraphicsSwapchain::GetSyncPoint ( uint8  imageIndex)
inherited

◆ GetTypedAdapter()

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

◆ Init() [1/3]

void Faro::IGraphicsAdapterChild::Init ( )
overrideprotectedvirtualinherited

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

Reimplemented from Faro::IObject.

◆ Init() [2/3]

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

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.

◆ Init() [3/3]

void Faro::GraphicsSwapchainVK::Init ( GraphicsAdapter adapter,
Window window 
)
overridevirtual

Reimplemented from Faro::GraphicsSwapchain.

◆ Present()

void Faro::GraphicsSwapchainVK::Present ( )
overridevirtual

Member Data Documentation

◆ backbuffer

GraphicsSwapchainImageContainer* Faro::GraphicsSwapchain::backbuffer = nullptr
inherited

◆ bufferReadySync

Array<GraphicsSemaphore*> Faro::GraphicsSwapchain::bufferReadySync
protectedinherited

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