summaryrefslogtreecommitdiffstats
path: root/src/Gal.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-14 13:24:30 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-15 06:40:28 +0100
commit1e40c0b0e6928558c5ea02612d52860ba80d9f05 (patch)
tree7e83f0a48873c02e181851435e7c9ec2b144918c /src/Gal.hpp
parentAdded dynamic textures for Gal (diff)
downloadAltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar.gz
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar.bz2
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar.lz
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar.xz
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.tar.zst
AltCraft-1e40c0b0e6928558c5ea02612d52860ba80d9f05.zip
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;