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,23 @@
#pragma once
#include "Types.hpp"
#include <memory>
namespace TSE::OpenGL
{
class ShaderPart
{
public:
uint shaderPartID = 0;
ShaderPart() = default;
private:
void Init(const string& str, int shaderType);
public:
~ShaderPart();
static std::unique_ptr<ShaderPart> LoadFromString(const std::string& str, int shaderType);
static std::unique_ptr<ShaderPart> LoadFromPath(const std::string& path, int shaderType);
};
} // namespace OpenGL