Skip to content

API Interface BufferDef

github-actions[bot] edited this page Nov 24, 2026 · 2 revisions

Interface: BufferDef<T>

Defined in: src/engine/core/data.ts:190

Type Parameters

T

T

Properties

id

readonly id: string;

Defined in: src/engine/core/data.ts:191

Methods

push()

push(record): void;

Defined in: src/engine/core/data.ts:193

Append a record for this frame.

Parameters

record

T

Returns

void


read()

read(): readonly T[];

Defined in: src/engine/core/data.ts:195

Records pushed so far this frame. Cleared at the end of the frame.

Returns

readonly T[]

Clone this wiki locally