Skip to content

GlyphField.setWasmPositions

Summary

setWasmPositions() borrows packed position records and refreshes them immediately. refreshWasmPositions() explicitly re-reads the same source.

Syntax

GlyphField.setWasmPositions(source: WasmMemoryView<Float32Array> | null, options?: GlyphFieldWasmChannelOptions): void
GlyphField.refreshWasmPositions(options?: GlyphFieldWasmRefreshOptions): void

Notes

Each instance uses four floats. Options control active count, managed GPU capacity, retained CPU snapshots, and bounds recomputation.

See Also