feat: separate dirty rendering with flag resource

This commit is contained in:
2025-08-15 14:19:39 -05:00
parent 2f0c734d13
commit b88895e82f
3 changed files with 23 additions and 8 deletions

View File

@@ -109,3 +109,6 @@ pub struct ScoreResource(pub u32);
#[derive(Resource)]
pub struct DeltaTime(pub f32);
#[derive(Resource, Default)]
pub struct RenderDirty(pub bool);