geometry#setWasmTangents¶
Summary¶
geometry#setWasmTangents() borrows packed four-float tangent 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.setWasmTangents(source: WasmMemoryView<Float32Array> | null, options?: GeometryWasmAttributeOptions): void