forked from Dynamitos/Seele
Refactoring basic text rendering
This commit is contained in:
1 parent
eef78e8aa5
commit
e487867f96
70 files changed
+608
-1133
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user