summaryrefslogtreecommitdiff
path: root/src/gpu/effect.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-17 11:16:24 +0100
committerskal <pascal.massimino@gmail.com>2026-02-17 11:16:24 +0100
commitbd26bc743933dcd5241fc87d160a893f83644dfb (patch)
tree373aa9c866fc6f6bbc58f4e27395f58563acbccc /src/gpu/effect.h
parenta1789611cdce872c2cecb2c6412c9eda12745916 (diff)
docs(gpu): Purge comment bloat from GPU headers
Removed redundant and obvious comments from 7 GPU headers: - post_process_helper.h: binding comments, stale UniformsSequenceParams note - shader_composer.h: verbose Compose/VerifyIncludes descriptions - uniform_helper.h: obvious method comments - effect.h: redundant render/resize comments - gpu.h: verbose struct/header comments, GPU perf placeholder - sdf_effect.h: obvious method comments - sequence.h: duplicate header, obvious API comments Kept only non-obvious context (binding conventions, headless mode notes). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/gpu/effect.h')
-rw-r--r--src/gpu/effect.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/effect.h b/src/gpu/effect.h
index 0d7e35e..f5cdf2d 100644
--- a/src/gpu/effect.h
+++ b/src/gpu/effect.h
@@ -23,17 +23,15 @@ class Effect {
(void)registry;
}
- // Dispatch render with automatic passthrough outside [start, end]
+ // Automatic passthrough outside [start, end]
void dispatch_render(WGPUCommandEncoder encoder,
const UniformsSequenceParams& params,
NodeRegistry& nodes);
- // Render effect (multi-input/multi-output) - override in derived classes
virtual void render(WGPUCommandEncoder encoder,
const UniformsSequenceParams& params,
NodeRegistry& nodes) = 0;
- // Resize notification
virtual void resize(int width, int height) {
width_ = width;
height_ = height;