Refactoring basic text rendering

This commit is contained in:
Dynamitos
2025-01-08 19:15:12 +01:00
parent eef78e8aa5
commit e487867f96
70 changed files with 608 additions and 1133 deletions
+3 -1
View File
@@ -105,7 +105,8 @@ class Graphics {
virtual void copyBuffer(Gfx::PShaderBuffer src, Gfx::PShaderBuffer dst) = 0;
bool supportMeshShading() const { return meshShadingEnabled; }
constexpr bool supportMeshShading() const { return meshShadingEnabled; }
constexpr bool supportRayTracing() const { return rayTracingEnabled; }
// Ray Tracing
virtual OBottomLevelAS createBottomLevelAccelerationStructure(const BottomLevelASCreateInfo& createInfo) = 0;
@@ -122,6 +123,7 @@ class Graphics {
QueueFamilyMapping queueMapping;
OShaderCompiler shaderCompiler;
bool meshShadingEnabled = false;
bool rayTracingEnabled = false;
friend class Window;
};
DEFINE_REF(Graphics)