Skip to content

DrawKit beta ​

Interface of @v12-engine/client/lite-views

ts
export interface DrawKit

The drawing a game's own looks of parts ask for: sets of a solid's copies, with no renderer's types in it

Members ​

dispose ​

ts
dispose(): void;

Takes away every set it made and the solids' geometries

flush ​

ts
flush(): void;

Once a frame: the renderer told what changed

shape ​

ts
shape(shape: SolidKind, look?: ShapeLook): ShapeSet;

A new set of copies of a solid, drawn as look says: its geometry made once a solid and shared