Skip to content

geometry#setWasmUvs

Summary

geometry#setWasmUvs() borrows packed two-float primary UV records from WebAssembly memory. A non-null source is refreshed immediately with the other attached vertex channels; after later producer writes or memory growth, call refreshWasmVertices() before upload(). Passing null detaches this channel.

Syntax

Geometry.setWasmUvs(source: WasmMemoryView<Float32Array> | null, options?: GeometryWasmAttributeOptions): void

See Also