Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
GraphicsSwapchain.hpp
Go to the documentation of this file.
1#pragma once
3#include <Window.hpp>
6
7namespace Faro
8{
10 {
11 public:
13 };
14
16 {
17 public:
18 virtual void Init(GraphicsAdapter* adapter, Window* window);
19 void Destroy() override;
20
21 virtual void Present() = 0;
22
24
26
27 protected:
28 void CreateBackbuffer();
30 };
31}
Definition Array.hpp:11
Definition GraphicsAdapter.hpp:27
Definition GraphicsBufferContainer.hpp:7
GraphicsBufferCreateDesc createDesc
Definition GraphicsBufferContainer.hpp:14
Definition GraphicsSemaphore.hpp:7
Definition GraphicsSwapchain.hpp:10
Definition GraphicsSwapchain.hpp:16
virtual void Present()=0
Array< GraphicsSemaphore * > bufferReadySync
Definition GraphicsSwapchain.hpp:29
void Destroy() override
Run the destruction logic of this class. This also frees its memory.
Definition GraphicsSwapchain.cpp:31
GraphicsSwapchainImageContainer * backbuffer
Definition GraphicsSwapchain.hpp:23
void CreateBackbuffer()
Definition GraphicsSwapchain.cpp:49
GraphicsSemaphore * GetSyncPoint(uint8 imageIndex)
Definition GraphicsSwapchain.cpp:43
Definition GraphicsAdapterChild.hpp:9
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsAdapterChild.cpp:16
Definition Window.hpp:29
Definition Array.hpp:8
uint8_t uint8
Definition Primitives.hpp:6
Definition GraphicsBufferDesc.hpp:90