Stream beta
Interface of @v12-engine/render
ts
export interface StreamMany copies of a few vertices with no geometry, each a record of the caller's own, drawn by one instanced draw
Members
capacity
ts
readonly capacity: number;The most copies it holds
count
ts
readonly count: number;How many copies the last send drew
data
ts
readonly data: ArrayBuffer;The copies' records, written from the start by who owns the stream
dispose
ts
dispose(): void;Takes its draws out of every view and frees its buffer
send
ts
send(count: number): void;Sends the first count records and has the draw draw that many (none: no draw at all)