diff options
| author | HampusM <hampus@hampusmat.com> | 2026-07-10 16:20:57 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-07-10 16:20:57 +0200 |
| commit | d68adea2554981da9dee593bf8a4b9455ca4d636 (patch) | |
| tree | 8f931254aebabbfe7b858e6a5b0a5bbcdb1099bd /engine/src/rendering.rs | |
| parent | 9690e173f06d64d3b992b4217d1665d6cbf29394 (diff) | |
feat(engine): make CreateTexture rendering cmd optionally take texture value
Diffstat (limited to 'engine/src/rendering.rs')
| -rw-r--r-- | engine/src/rendering.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/rendering.rs b/engine/src/rendering.rs index 9c0e9dd..94c619f 100644 --- a/engine/src/rendering.rs +++ b/engine/src/rendering.rs @@ -237,7 +237,7 @@ pub enum Command CreateShaderProgram(ObjectId, ShaderProgram), ActivateShader(ObjectId), SetShaderBinding(ShaderBindingLocation, ShaderBindingValue), - CreateTexture(AssetHandle<Texture>), + CreateTexture(ObjectId, AssetOrValue<Texture>), CreateMesh { obj_id: ObjectId, |
