UI module

frame_allocator

procedure · 1 overloadsince 0.31.0Source

The allocator of the per-frame arena: memory that lives until the next frame begins.

frame_allocator :: (ui: *UI_State) -> Allocator

The allocator of the per-frame arena: memory that lives until the next frame begins.

Parameters

ui: *UI_State
the UI whose frame arena to use.

Returns

Allocator

See also