Build pipelines / buffers / bind groups. Called once when the feature is set up.
Returns true iff this input contributes to LOD lodIdx this frame.
Called by the orchestrator before draw().
Per-frame uniform upload. Called once per frame, before any draw.
Issue draw calls into the active render pass for LOD lodIdx.
Release owned GPU resources.
A contributor to the ocean's raw per-LOD displacement texture. Lifecycle:
constructor → host-only data (no GPU yet) setup(ctx, info) → build pipelines, bind groups, uniform buffers updateFrame(...) → per-frame uniform upload (called before any draw()) draw(enc, lodIdx) → record draw calls into the active render pass for LOD
lodIdx. Caller has already bound group 0 (drawCtx) with the dynamic offset for this LOD. destroy() → release owned GPU objects