diff options
| author | hachem <im@hachem.wtf> | 2025-08-22 12:24:05 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-22 12:24:05 +0200 |
| commit | 2c8002d30f291cba832a5750212009d48238c308 (patch) | |
| tree | 4aafc468441b3e32c267040830b8e0b5af859faf /src/rendering/texture.h | |
| parent | b9de06951631d9969c52c6ed95de17a6d8aad121 (diff) | |
feat: add HDRI
Diffstat (limited to 'src/rendering/texture.h')
| -rw-r--r-- | src/rendering/texture.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rendering/texture.h b/src/rendering/texture.h index cc5c59e..195605c 100644 --- a/src/rendering/texture.h +++ b/src/rendering/texture.h @@ -31,4 +31,12 @@ namespace Donut static Ref<Texture2D> create(uint32_t width, uint32_t height); static Ref<Texture2D> create(const std::string& path); }; + + class CubemapTexture + : public Texture + { + public: + static Ref<CubemapTexture> create(uint32_t width, uint32_t height); + static Ref<CubemapTexture> create_from_hdri(const std::string& path); + }; }; |
