diff options
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: |
