Skip to content

Interface: PrimitiveContext ​

Experimental

Context handed to every primitive at construction.

Properties ​

PropertyModifierTypeDescription
capabilities?readonlyGpuCapabilitiesExperimental The device's GPU limits (a render root's context has them).
resourcesreadonlyResourceManagerExperimental Shared, ref-counted GPU resources.

Methods ​

invalidate() ​

ts
invalidate(): void;

Experimental

Mark the owning chart dirty so a frame renders on the next animation frame (ADR-007).

Returns ​

void

Released under the MIT License.