@bloopjs/toodle / Toodle / StartFrameOptions
Type Alias: StartFrameOptions
StartFrameOptions =
object
Defined in: Toodle.ts:747
Properties
loadOp?
optionalloadOp:"load"|"clear"
Defined in: Toodle.ts:758
The load operation to use for the render pass.
clear: clear the current texture to the clear color. necessary if you're using toodle without another renderer.
load: blend the render pass with the current canvas contents. useful if you're using toodle alongside another renderer like painter or pixi.js
Default
ts
"clear"