diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
commit | 6b8395152b8e0c7ddd714e195e4e92d464b8147c (patch) | |
tree | fa4c44f4abad507dbde4c42d6c0b982ac1814be2 /stockton-render/src | |
parent | df4271047b6e482cbeaa099f819c797860b96d18 (diff) |
refactor(skeleton): move LevelError to render
Diffstat (limited to 'stockton-render/src')
-rw-r--r-- | stockton-render/src/level.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/stockton-render/src/level.rs b/stockton-render/src/level.rs index 0c88a0b..c9a8155 100644 --- a/stockton-render/src/level.rs +++ b/stockton-render/src/level.rs @@ -15,7 +15,7 @@ use stockton_skeleton::{ }, context::RenderingContext, draw_passes::{util::TargetSpecificResources, DrawPass, IntoDrawPass, PassPosition}, - error::{LevelError, LockPoisoned}, + error::LockPoisoned, mem::{DataPool, DepthBufferPool, StagingPool, TexturesPool}, queue_negotiator::QueueNegotiator, texture::{resolver::TextureResolver, TexLoadQueue, TextureLoadConfig, TextureRepo}, @@ -49,6 +49,7 @@ use hal::{ }; use legion::{Entity, IntoQuery}; use shaderc::ShaderKind; +use thiserror::Error; /// The Vertexes that go to the shader #[derive(Debug, Clone, Copy)] @@ -468,3 +469,10 @@ where ]) } } + +/// Indicates an issue with the level object being used +#[derive(Debug, Error)] +pub enum LevelError { + #[error("Referential Integrity broken")] + BadReference, +} |