Skip to content

API Interface BufferDef

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

Interface: BufferDef<T>

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

Type Parameters

T

T

Properties

id

readonly id: string;

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

Methods

push()

push(record): void;

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

Append a record for this frame.

Parameters

record

T

Returns

void


read()

read(): readonly T[];

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

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

Returns

readonly T[]

Clone this wiki locally