OptionalcanvasCanvas element (Canvas2D backend only).
Optionalctx2D context (Canvas2D backend only).
OptionalfboGL framebuffer object (WebGL2 backend only).
OptionalgpuGPU texture attachment (WebGPU backend only).
Height of the framebuffer in pixels.
OptionaltextureGL texture attachment (WebGL2 backend only).
Width of the framebuffer in pixels.
Offscreen render target. Holds either a Canvas2D surface, WebGL2 FBO, or backend texture.