From 0d819f2b9a71e862bce8799c6b0c1304e62219b3 Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 22 Aug 2025 12:24:05 +0200 Subject: [add]: add HDRI --- src/Rendering/Texture.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Rendering/Texture.h') diff --git a/src/Rendering/Texture.h b/src/Rendering/Texture.h index 21941ee..3e53b2d 100644 --- a/src/Rendering/Texture.h +++ b/src/Rendering/Texture.h @@ -31,4 +31,12 @@ namespace Donut static Ref Create(uint32_t width, uint32_t height); static Ref Create(const std::string& path); }; + + class CubemapTexture + : public Texture + { + public: + static Ref Create(uint32_t width, uint32_t height); + static Ref CreateFromHDRI(const std::string& path); + }; }; \ No newline at end of file -- cgit v1.3