Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
GraphicsSwapchainD3D12.hpp
Go to the documentation of this file.
1#pragma once
2#if FARO_OS_WINDOWS
4#include <dxgi1_5.h>
5
6namespace Faro
7{
8 class GraphicsSwapchainD3D12 : public GraphicsSwapchain
9 {
10 public:
11 void Init(GraphicsAdapter* adapter, Window* window) override;
12 void Destroy() override;
13
14 IDXGISwapChain4* GetNativeSwapchain();
15
16 void Present() override;
17
18 private:
19 IDXGISwapChain4* swapchain = nullptr;
20 };
21}
22#endif
Definition Array.hpp:8