API

Interface EffectRenderer

EffectRenderer — a fullscreen-effect RenderingContext that draws directly to the swapchain without a SceneContext or frame-graph task. Use registerEffectRenderer / unregisterEffectRenderer to attach it to an engine, then call startEngine as usual.

For offscreen render-to-texture workflows (effect result consumed by a scene material) continue to use createEffectRenderTask inside a scene frame graph.

interface EffectRenderer {
    clearColor: GPUColorDict;
    name: string;
}

Hierarchy (View Summary)

Index
clearColor: GPUColorDict

Clear color used when this context is the first active one in a frame.

name: string