summaryrefslogtreecommitdiff
path: root/engine/src/shader/cursor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/shader/cursor.rs')
-rw-r--r--engine/src/shader/cursor.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/src/shader/cursor.rs b/engine/src/shader/cursor.rs
index 0522858..8011012 100644
--- a/engine/src/shader/cursor.rs
+++ b/engine/src/shader/cursor.rs
@@ -1,8 +1,7 @@
-use crate::asset::Handle as AssetHandle;
-use crate::matrix::Matrix;
+use crate::data_types::matrix::Matrix;
+use crate::data_types::vector::Vec3;
+use crate::rendering::object::Id as RenderingObjectId;
use crate::shader::{TypeKind, TypeLayout, VariableLayout};
-use crate::texture::Texture;
-use crate::vector::Vec3;
/// Shader cursor
#[derive(Clone)]
@@ -116,7 +115,7 @@ pub enum BindingValue
Float(f32),
FVec3(Vec3<f32>),
FMat4x4(Matrix<f32, 4, 4>),
- Texture(AssetHandle<Texture>),
+ Texture(RenderingObjectId),
}
impl From<u32> for BindingValue