diff options
author | rtk0c <[email protected]> | 2021-04-10 21:13:34 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-04-10 21:13:34 -0700 |
commit | 568fcc1dfe40c37b57b7baa2dea93b291d3fa956 (patch) | |
tree | 826b410c502a950c1d4804d351959da914003b36 /core/src/Entrypoint/Common.hpp | |
parent | 4303d0be47526b35e5bb3e3be001da227dae5d96 (diff) |
Add dx11, dx12, and vulkan backends
Diffstat (limited to 'core/src/Entrypoint/Common.hpp')
-rw-r--r-- | core/src/Entrypoint/Common.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/core/src/Entrypoint/Common.hpp b/core/src/Entrypoint/Common.hpp deleted file mode 100644 index 216c885..0000000 --- a/core/src/Entrypoint/Common.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include <glad/glad.h> -#include <GLFW/glfw3.h> - -class RenderingBackend { -protected: - GLFWwindow* mWindow; - -public: - virtual ~RenderingBackend() = default; - virtual void BeginFrame() = 0; - virtual void EndFrame() = 0; - - GLFWwindow* GetWindow() const; - - /// Common GLFW error handle callback for each rendering backend to use. - static void GlfwErrorCallback(int error, const char* message); -}; |