From a0a2acfec05ff73a148e3a7df2e0280f3e0b8a90 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 3 Jun 2024 19:06:07 -0400 Subject: [PATCH] render: add todo in code --- lyra-game/src/render/graph/passes/base.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lyra-game/src/render/graph/passes/base.rs b/lyra-game/src/render/graph/passes/base.rs index c89dcc4..ebb6d94 100644 --- a/lyra-game/src/render/graph/passes/base.rs +++ b/lyra-game/src/render/graph/passes/base.rs @@ -107,6 +107,12 @@ impl RenderGraphPass for BasePass { RenderPassType::Node, None, vec![ + // TODO: Make this a trait maybe? + // Could impl it for (RenderGraphLabel, wgpu::BindGroup) and also + // (RenderGraphLabel, wgpu::BindGroup, wgpu::BindGroupLabel) AND + // (RenderGraphLabel, wgpu::BindGroup, Option) + // + // This could make it slightly easier to create this (&BasePassSlots::DepthTexture, depth_texture_bg, Some(depth_texture_bgl)), (&BasePassSlots::ScreenSize, screen_size_bg, Some(screen_size_bgl)), (&BasePassSlots::Camera, camera_bg, Some(camera_bgl)),