diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
commit | 47a0c0317cc774c19b78582bec9b5b09d56f569a (patch) | |
tree | d03471ea4e084ace9b95a2c5b7febb780b45bb63 /stockton-levels/src/features.rs | |
parent | fb996488aa651cb2e7f46abc083c4318b47e77cd (diff) |
feat(render): draw passes
Diffstat (limited to 'stockton-levels/src/features.rs')
-rw-r--r-- | stockton-levels/src/features.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stockton-levels/src/features.rs b/stockton-levels/src/features.rs index f748bd0..b4ddb99 100644 --- a/stockton-levels/src/features.rs +++ b/stockton-levels/src/features.rs @@ -14,5 +14,8 @@ use crate::parts::*; -pub trait MinRenderFeatures: HasFaces + HasTextures + Send + Sync {} -impl<T> MinRenderFeatures for T where T: HasFaces + HasTextures + Send + Sync {} +pub trait MinRenderFeatures<'a>: HasFaces + HasTextures + HasVisData<'a> + Send + Sync {} +impl<'a, T> MinRenderFeatures<'a> for T where + T: HasFaces + HasTextures + HasVisData<'a> + Send + Sync +{ +} |