BeginFrame

Start a new Lua render frame. Clears the build buffer for this tick.

Syntax

Susano.BeginFrame() -> void

Parameters

None

Return(s)

None

Behavior

Clears the build buffer only.

Leaves the currently displayed frame untouched.

Subsequent Draw* calls append to the new build buffer.

Calling it again within the same tick re-clears the build buffer.

Does not trigger rendering or a swap by itself.

Example(s)

Last updated