Base parameters used to create a ShaderPass.

interface ShaderPassBaseParams {
    copyOutputToRenderTexture?: boolean;
    isPrePass?: boolean;
}

Hierarchy (View Summary)

Properties

copyOutputToRenderTexture?: boolean

Whether the result of this ShaderPass should be copied to the renderTexture after each render. Default to false.

isPrePass?: boolean

Whether this ShaderPass should be rendered to the main buffer using the renderer renderPass before drawing the other objects to the main buffer. Useful for "blit" passes using the content of an inputTarget.