Skip to content

@blooper.gg/toodle


@blooper.gg/toodle / Toodle / StartFrameOptions

Type Alias: StartFrameOptions

StartFrameOptions = object

Defined in: Toodle.ts:651

Properties

loadOp?

optional loadOp: "load" | "clear"

Defined in: Toodle.ts:662

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"