AdvancedAdvanced
Clears the render target.
Target to clear.
Clear mode (unused).
OptionalclearColor: number[]
Optional clear color.
Optionalviewport: Rectangle
Optional viewport rectangle.
Advanced
Copies the depth attachment of a render target into a texture (not supported in canvas).
Source render target.
Destination depth/stencil texture.
Optional_originSrc: { x: number; y: number }
Source origin of the copy.
Optional_size: { height: number; width: number }
Size of the copy.
Optional_originDest: { x: number; y: number }
Destination origin of the copy.
Advanced
Copies a render target into a texture source.
Source render target.
Destination texture.
Source origin.
Source x origin.
Source y origin.
Copy size.
Copy height.
Copy width.
OptionaloriginDest: { x: number; y: number }
Destination origin.
Destination x origin.
Destination y origin.
Advanced
Destroys a GPU render target (no-op for canvas).
Target to destroy.
Advanced
Finishes the render pass (no-op for canvas).
Advanced
Initializes the adaptor.
Canvas renderer instance.
The render target system.
Advanced
Creates a GPU render target for canvas.
Render target to initialize.
Advanced
Resizes the backing canvas for a render target.
Render target to resize.
Advanced
Starts a render pass on the canvas target.
Target to render to.
Clear mode.
OptionalclearColor: number[]
Optional clear color.
Optionalviewport: Rectangle
Optional viewport.
Canvas adaptor for render targets.