API

Interface EffectRenderTaskConfig

Configuration for createEffectRenderTask: the effect to draw, its render target, and optional clear state.

interface EffectRenderTaskConfig {
    clear?: boolean;
    clearColor?: GPUColorDict;
    effect: EffectWrapper;
    name: string;
    target: RenderTarget;
}
Index
clear?: boolean
clearColor?: GPUColorDict
name: string
target: RenderTarget