diff options
Diffstat (limited to 'cnn_v3/src/gbuf_view_effect.h')
| -rw-r--r-- | cnn_v3/src/gbuf_view_effect.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/cnn_v3/src/gbuf_view_effect.h b/cnn_v3/src/gbuf_view_effect.h index d4d8139..a8fd5c9 100644 --- a/cnn_v3/src/gbuf_view_effect.h +++ b/cnn_v3/src/gbuf_view_effect.h @@ -1,6 +1,7 @@ // GBufViewEffect: Visualizes G-buffer feature textures as a 4×5 channel grid. -// Inputs: feat_tex0 (rgba32uint, ch 0-7 f16), feat_tex1 (rgba32uint, ch 8-19 unorm8) -// Output: rgba8unorm tiled channel visualization (downscaled 4× per channel) +// Inputs: feat_tex0 (rgba32uint, ch 0-7 f16), feat_tex1 (rgba32uint, ch 8-19 +// unorm8) Output: rgba8unorm tiled channel visualization (downscaled 4× per +// channel) #pragma once @@ -10,16 +11,14 @@ class GBufViewEffect : public Effect { public: - GBufViewEffect(const GpuContext& ctx, - const std::vector<std::string>& inputs, - const std::vector<std::string>& outputs, - float start_time, float end_time); + GBufViewEffect(const GpuContext& ctx, const std::vector<std::string>& inputs, + const std::vector<std::string>& outputs, float start_time, + float end_time); - void render(WGPUCommandEncoder encoder, - const UniformsSequenceParams& params, + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) override; private: RenderPipeline pipeline_; - BindGroup bind_group_; + BindGroup bind_group_; }; |
