diff options
| author | LLLL Colonq <llll@colonq> | 2025-04-15 01:25:47 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-04-15 01:25:47 -0400 |
| commit | 9e586a12b0db0292d9fb41e4ec99a3e1fd912d85 (patch) | |
| tree | 4a80659b5510546124493599b3c20152e3da4638 /crates/renderer/src/assets.rs | |
| parent | 1b5b2e1956ca001befef601a00a1710dd04d7952 (diff) | |
Multi
Diffstat (limited to 'crates/renderer/src/assets.rs')
| -rw-r--r-- | crates/renderer/src/assets.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/renderer/src/assets.rs b/crates/renderer/src/assets.rs index a06aabe..3c129c1 100644 --- a/crates/renderer/src/assets.rs +++ b/crates/renderer/src/assets.rs @@ -6,6 +6,9 @@ pub struct Assets { pub shader_scene: shader::Shader, pub mesh_square: mesh::Mesh, pub texture_adblock: texture::Texture, + pub texture_mod: texture::Texture, + pub texture_operatop: texture::Texture, + pub texture_operabottom: texture::Texture, } impl Assets { @@ -24,6 +27,9 @@ impl Assets { ), mesh_square: mesh::Mesh::from_obj(ctx, include_bytes!("assets/meshes/square.obj")), texture_adblock: texture::Texture::new(ctx, include_bytes!("assets/textures/adblock.png")), + texture_mod: texture::Texture::new(ctx, include_bytes!("assets/textures/mod.png")), + texture_operatop: texture::Texture::new(ctx, include_bytes!("assets/textures/operatop.png")), + texture_operabottom: texture::Texture::new(ctx, include_bytes!("assets/textures/operabottom.png")), } } } |
