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 ec00442..06850ea 100644
--- a/src/Gal.hpp
+++ b/src/Gal.hpp
@@ -3,6 +3,7 @@
#include <cstdint>
#include <memory>
#include <vector>
+#include <string>
#include <string_view>
#include <glm/glm.hpp>
@@ -91,6 +92,10 @@ namespace Gal {
virtual void Cleanup() = 0;
+ virtual void SetScissor(size_t x=0, size_t y=0, size_t width=0, size_t height=0) = 0;
+
+ virtual void SetScissor(bool enabled) = 0;
+
virtual std::shared_ptr<Buffer> CreateBuffer() = 0;