implemented SDL3 as an option for window manager

This commit is contained in:
2026-03-23 19:00:56 +01:00
parent 226f60e9ae
commit a596028ed9
152 changed files with 84309 additions and 247 deletions

View File

@@ -0,0 +1,28 @@
#pragma once
#include "interfaces/IRenderingBackend.hpp"
#define TSE_OPENGL_VERSION_MAJOR 3
#define TSE_OPENGL_VERSION_MINOR 3
namespace TSE::OpenGL
{
class OpenGLRenderingBackend : public IRenderingBackend
{
private:
public:
OpenGLRenderingBackend(Color _backgroundColor, bool _vsync);
OpenGLRenderingBackend(Color _backgroundColor, bool _vsync, int _samples, bool _useseImGui);
~OpenGLRenderingBackend();
void InitPreWindow() override;
bool InitPostWindow() override;
bool InitEnd() override;
void onResize(int width, int height) override;
void onUpdate() const override;
void onClear() const override;
void onClearDepthBuffer() const override;
};
} // namespace OpenGL