summaryrefslogtreecommitdiff
path: root/core/src/Entrypoint/Backend.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-27 18:27:13 -0700
committerrtk0c <[email protected]>2022-06-27 18:27:13 -0700
commit8f0dda5eab181b0f14f2652b4e984aaaae3f258c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/src/Entrypoint/Backend.hpp
parentfad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff)
Start from a clean slate
Diffstat (limited to 'core/src/Entrypoint/Backend.hpp')
-rw-r--r--core/src/Entrypoint/Backend.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/core/src/Entrypoint/Backend.hpp b/core/src/Entrypoint/Backend.hpp
deleted file mode 100644
index ca391e6..0000000
--- a/core/src/Entrypoint/Backend.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include <memory>
-
-class RenderingBackend
-{
-public:
- // Implemented in Backend_OpenGL2.cpp
- static std::unique_ptr<RenderingBackend> CreateOpenGL2Backend();
- // Implemented in Backend_OpenGL3.cpp
- static std::unique_ptr<RenderingBackend> CreateOpenGL3Backend();
- // Implemented in Backend_Vulkan.cpp
- static std::unique_ptr<RenderingBackend> CreateVulkanBackend();
- // Implemented in Backend_DirectX11.cpp
- static std::unique_ptr<RenderingBackend> CreateDx11Backend();
- // Implemented in Backend_DirectX12.cpp
- static std::unique_ptr<RenderingBackend> CreateDx12Backend();
- // Implemented in Backend_Metal.cpp
- static std::unique_ptr<RenderingBackend> CreateMetalBackend();
-
- virtual ~RenderingBackend() = default;
- virtual void RunUntilWindowClose(void (*windowContent)()) = 0;
-};