hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering/texture.h')
-rw-r--r--src/rendering/texture.h8
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);
+ };
};