TextureCanvas
constTextureCanvas:object
Defined in: sdk/src/render/textureCanvas.ts:58
Type Declaration
Section titled “Type Declaration”create()
Section titled “create()”create(
width,height,options?):TextureCanvasHandle|null
A transparent canvas width × height pixels. Call it, and draw, from a Schedule.Update system, not a
draw callback: each paste is a pass of its own. Null while the renderer is not up yet. Keep the pasted
textures alive: a device loss pastes them again.
Parameters
Section titled “Parameters”number
height
Section titled “height”number
options?
Section titled “options?”TextureCanvasOptions = {}
Returns
Section titled “Returns”TextureCanvasHandle | null