Expand description
Per-chain feedback textures.
Each rendering chain owns its own warp output, previous-frame copy,
final comp output, and three-level blur pyramid (plus a scratch
horizontal-pass target). Sharing these between chains would cross the
feedback streams during preset transitions — the old preset’s accumulated
warp output must keep evolving on the secondary chain while the new
preset fills the primary chain. Procedural noise stays shared in
GpuContext because it is constant for the program lifetime.
Sizes track RenderConfig::{width, height}; [Self::resize] rebuilds
every texture when the host window resizes.
Structs§
- Chain
Textures - All resolution-dependent textures consumed and produced by one rendering chain.
Functions§
- make_
blur_ 🔒texture_ at - Allocate a blur-stage texture at an explicit
(width, height)— the downsampled pyramid wants each level smaller than the last, so the helper takes the dimensions directly rather than deriving them fromconfig. Texture format followsconfig.texture_formatso the blur output composes cleanly withrender_texture/final_texturein the comp pass. - make_
color_ 🔒texture