render: add todo in code

This commit is contained in:
SeanOMik 2024-06-03 19:06:07 -04:00
parent ef68b2a4c5
commit a0a2acfec0
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 6 additions and 0 deletions

View File

@ -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<wgpu::BindGroupLabel>)
//
// 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)),