summaryrefslogtreecommitdiff
path: root/engine/src/rendering.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-08-06 20:15:23 +0200
committerHampusM <hampus@hampusmat.com>2026-08-06 20:33:47 +0200
commit88e04dab6a8cb1c63840242cabec3d90326a6552 (patch)
tree66db7180b3e2d71dc7f1bfff88c52bde250a5d39 /engine/src/rendering.rs
parent2cc47806a9af4bceb9ef34a328cdf39d9f4ce1fc (diff)
feat(engine): add support for cube map textures
Diffstat (limited to 'engine/src/rendering.rs')
-rw-r--r--engine/src/rendering.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/src/rendering.rs b/engine/src/rendering.rs
index 3af1ab8..f40f774 100644
--- a/engine/src/rendering.rs
+++ b/engine/src/rendering.rs
@@ -216,6 +216,7 @@ pub enum Command
ActivateShader(ObjectId),
SetShaderBinding(ShaderBinding),
CreateTexture(ObjectId, AssetOrValue<Texture>),
+ // TODO: Make UpdateTexture command able to handle textures other than 2D textures
UpdateTexture
{
obj_id: ObjectId,