From 47a0c0317cc774c19b78582bec9b5b09d56f569a Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:23 +0100 Subject: feat(render): draw passes --- stockton-levels/src/features.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'stockton-levels/src/features.rs') 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 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 +{ +} -- cgit v1.2.3