summaryrefslogtreecommitdiffstats
path: root/src/Gal.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-14 12:23:15 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-14 12:23:15 +0100
commit5651b71788487e986ea945d76cbaf647d4554813 (patch)
treeefec4c9a455dd4911bbeefd9f8c593e36ee97973 /src/Gal.hpp
parentAdded basic Graphics Abstraction Layer (diff)
downloadAltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar.gz
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar.bz2
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar.lz
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar.xz
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.tar.zst
AltCraft-5651b71788487e986ea945d76cbaf647d4554813.zip
Diffstat (limited to '')
-rw-r--r--src/Gal.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Gal.hpp b/src/Gal.hpp
index 0f2d162..ec00442 100644
--- a/src/Gal.hpp
+++ b/src/Gal.hpp
@@ -172,6 +172,8 @@ namespace Gal {
virtual std::shared_ptr<PipelineInstance> CreateInstance(std::vector<std::pair<std::shared_ptr<BufferBinding>, std::shared_ptr<Buffer>>> &&buffers) = 0;
+ virtual void SetDynamicTexture(std::string_view name, std::shared_ptr<Texture> texture) = 0;
+
virtual void SetShaderParameter(std::string_view name, float value) = 0;
virtual void SetShaderParameter(std::string_view name, double value) = 0;