summaryrefslogtreecommitdiffstats
path: root/src/Gal.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Gal.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Gal.hpp b/src/Gal.hpp
index 82ede78..f448c89 100644
--- a/src/Gal.hpp
+++ b/src/Gal.hpp
@@ -60,6 +60,7 @@ namespace Gal {
};
enum class Format {
+ D24S8,
R8G8B8,
R8G8B8A8,
};
@@ -241,6 +242,10 @@ namespace Gal {
struct FramebufferConfig {
virtual ~FramebufferConfig() = default;
+
+ virtual void SetDepthStencil(std::shared_ptr<Texture> texture) = 0;
+
+ virtual void SetTexture(size_t location, std::shared_ptr<Texture> texture) = 0;
};
struct ShaderParameters {