| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <string> |
| 7 |
|
| 8 |
#include "VideoCommon/VideoBackendBase.h" |
| 9 |
|
| 10 |
namespace DX12 |
| 11 |
{ |
| 12 |
class VideoBackend final : public VideoBackendBase |
| 13 |
{ |
| 14 |
public: |
| 15 |
bool Initialize(const WindowSystemInfo& wsi) override; |
| 16 |
void Shutdown() override; |
| 17 |
|
| 18 |
std::string GetConfigName() const override; |
| 19 |
std::string GetDisplayName() const override; |
| 20 |
void InitBackendInfo(const WindowSystemInfo& wsi) override; |
| 21 |
|
| 22 |
static constexpr const char* CONFIG_NAME = "D3D12"; |
| 23 |
|
| 24 |
private: |
| 25 |
void FillBackendInfo(); |
| 26 |
}; |
| 27 |
} |