summaryrefslogtreecommitdiffstats
path: root/src/Gal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gal.hpp')
-rw-r--r--src/Gal.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Gal.hpp b/src/Gal.hpp
index fe99dc7..0aa61c7 100644
--- a/src/Gal.hpp
+++ b/src/Gal.hpp
@@ -171,6 +171,8 @@ namespace Gal {
struct Texture {
virtual ~Texture() = default;
+ virtual std::tuple<size_t, size_t, size_t> GetSize() = 0;
+
virtual void SetData(std::vector<std::byte>&& data, size_t mipLevel = 0) = 0;
virtual void SetSubData(size_t x, size_t y, size_t z, size_t width, size_t height, size_t depth, std::vector<std::byte> &&data, size_t mipLevel = 0) = 0;