Constructs a new render pipeline.
A renderer.
ReadonlyresolutionThe current resolution.
updateStyle to control whether the style of the canvas should be updated.
Determines whether the style of the canvas should be updated when the resolution is changed.
The renderer.
The internal timer.
Compiles all passes in this pipeline.
A promise that resolves when the compilation has finished.
Frees internal resources.
Removes all passes.
Renders this pipeline.
This method should be called once per frame via requestAnimationFrame. It's recommended to use three's method
WebGLRenderer.setAnimationLoop() to set up a render loop.
Optionaltimestamp: numberThe current time in milliseconds.
Sets the device pixel ratio.
The pixel ratio.
Sets the scissor region for all passes.
Please note that scissor settings need to be enabled on a per-pass basis to take effect.
The X-offset, or a vector that describes the scissor region.
The Y-offset starting in the lower left corner.
The width in logical pixels (before pixel ratio).
The height in logical pixels (before pixel ratio).
Sets the render size.
The width in logical pixels (before pixel ratio).
The height in logical pixels (before pixel ratio).
Whether the style of the canvas should be updated. Default is true.
Sets the viewport for all passes.
Please note that viewport settings need to be enabled on a per-pass basis to take effect.
The X-offset starting in the lower left corner, or a vector that describes the viewport.
The Y-offset starting in the lower left corner.
The width in logical pixels (before pixel ratio).
The height in logical pixels (before pixel ratio).
A render pipeline that can be used to group and run passes.