diff options
| author | skal <pascal.massimino@gmail.com> | 2026-05-21 08:10:47 +0200 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-05-21 08:10:47 +0200 |
| commit | d806027dcaeadcdd8d2febd88bc46b2fd2c465de (patch) | |
| tree | 30bc1ef9f40ccab7c00e31ee20e62bb86755fa26 /cnn_v3/src/gbuf_deferred_effect.h | |
| parent | 680042a18c11ad5e58757e45b260745c2f52417f (diff) | |
Diffstat (limited to 'cnn_v3/src/gbuf_deferred_effect.h')
| -rw-r--r-- | cnn_v3/src/gbuf_deferred_effect.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cnn_v3/src/gbuf_deferred_effect.h b/cnn_v3/src/gbuf_deferred_effect.h index 4daf13d..d0368ff 100644 --- a/cnn_v3/src/gbuf_deferred_effect.h +++ b/cnn_v3/src/gbuf_deferred_effect.h @@ -1,5 +1,6 @@ // GBufDeferredEffect — simple deferred render from packed G-buffer. -// Inputs: feat_tex0, feat_tex1 (rgba32uint). Output: albedo * shadow (rgba8unorm). +// Inputs: feat_tex0, feat_tex1 (rgba32uint). Output: albedo * shadow +// (rgba8unorm). #pragma once #include "gpu/effect.h" @@ -10,11 +11,10 @@ class GBufDeferredEffect : public Effect { public: GBufDeferredEffect(const GpuContext& ctx, const std::vector<std::string>& inputs, - const std::vector<std::string>& outputs, - float start_time, float end_time); + 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: |
