Interface ClearTextureTaskConfig
interface ClearTextureTaskConfig {
clearColor?: boolean;
clearDepth?: boolean;
clearStencil?: boolean;
color?: GPUColorDict;
convertColorToLinearSpace?: boolean;
depthTexture?: RenderTarget;
name?: string;
stencilValue?: number;
targetTexture?: RenderTarget | RenderTarget[];
}
clearColor?: boolean;
clearDepth?: boolean;
clearStencil?: boolean;
color?: GPUColorDict;
convertColorToLinearSpace?: boolean;
depthTexture?: RenderTarget;
name?: string;
stencilValue?: number;
targetTexture?: RenderTarget | RenderTarget[];
}
Properties
Optionalclear Color
clearColor?: boolean
Optionalclear Depth
clearDepth?: boolean
Optionalclear Stencil
clearStencil?: boolean
Optionalcolor
color?: GPUColorDict
Optionalconvert Color To Linear Space
convertColorToLinearSpace?: boolean
Optionaldepth Texture
Optionalname
name?: string
Optionalstencil Value
stencilValue?: number
Inputs matching Babylon.js FrameGraphClearTextureTask, using concrete render targets.