diff options
| author | HampusM <hampus@hampusmat.com> | 2026-03-25 20:09:13 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-03-25 20:09:13 +0100 |
| commit | de74c71eb6d6a67e8c7ac006a1e906175ca32a72 (patch) | |
| tree | 72671f280ff791312679963779d1d6b7cbc4145b /engine/src/shader/cursor.rs | |
| parent | cee8b3a19833e1143d0551e8031aa812f7c5a92b (diff) | |
refactor(engine): store textures as assets instead of images
Diffstat (limited to 'engine/src/shader/cursor.rs')
| -rw-r--r-- | engine/src/shader/cursor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/shader/cursor.rs b/engine/src/shader/cursor.rs index b5ba4e0..0522858 100644 --- a/engine/src/shader/cursor.rs +++ b/engine/src/shader/cursor.rs @@ -1,7 +1,7 @@ use crate::asset::Handle as AssetHandle; -use crate::image::Image; use crate::matrix::Matrix; use crate::shader::{TypeKind, TypeLayout, VariableLayout}; +use crate::texture::Texture; use crate::vector::Vec3; /// Shader cursor @@ -116,7 +116,7 @@ pub enum BindingValue Float(f32), FVec3(Vec3<f32>), FMat4x4(Matrix<f32, 4, 4>), - Texture(AssetHandle<Image>), + Texture(AssetHandle<Texture>), } impl From<u32> for BindingValue |
