WasmGPU.createAnnotation¶
Summary¶
WasmGPU.createAnnotation is the annotation factory facade. Its toolkit factory combines engine picking with overlay and scene integration, using the engine canvas by default while returning a caller-owned toolkit.
Syntax¶
Available APIs¶
- createAnnotation.toolkit creates the annotation toolkit.
- createAnnotation.toolkit#attach connects it to scene, camera, and overlay state.
- createAnnotation.toolkit#setMode selects the active annotation workflow.
- createAnnotation.toolkit#getAnnotations returns annotation snapshots.
- createAnnotation.toolkit#destroy releases toolkit-owned resources.