feat: render and manage textures :3
This commit is contained in:
parent
2501390225
commit
74a1be796f
21 changed files with 2908 additions and 320 deletions
16
crates/scene/src/error.rs
Normal file
16
crates/scene/src/error.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use thiserror::Error;
|
||||
|
||||
/// Any errors that can be returned from this crate.
|
||||
#[derive(Error, Debug)]
|
||||
pub enum SceneError {
|
||||
#[error("Error from ResourceManager: {0}")]
|
||||
ResourceManagerError(#[from] resource_manager::ResourceManagerError),
|
||||
|
||||
#[error("Error from GLTF: {0}")]
|
||||
GltfError(#[from] gltf::Error),
|
||||
|
||||
#[error("InconsistentData: {0}")]
|
||||
InconsistentData(String),
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, SceneError>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue