Skip to content
Shapemetry

@huukhanhnguyen/model / nodeMethods/wholeArray

nodeMethods/wholeArray

markWholeArray()

markWholeArray<T>(fn): T & { wholeArray: true; }

Mark an op so the engine passes the ENTIRE array (one solid) at once instead of mapping it per-face.

Type Parameters

T

T extends (...args) => unknown

Parameters

fn

T

Returns

T & { wholeArray: true; }

Last updated: 📖 1 min readEdit on GitHub