MCPcopy
hub / github.com/donmccurdy/glTF-Transform / createTransform

Function createTransform

packages/functions/src/utils.ts:24–27  ·  view source on GitHub ↗
(name: string, fn: Transform)

Source from the content-addressed store, hash-verified

22 * @hidden
23 */
24export function createTransform(name: string, fn: Transform): Transform {
25 Object.defineProperty(fn, 'name', { value: name });
26 return fn;
27}
28
29/** @hidden */
30export function isTransformPending(context: TransformContext | undefined, initial: string, pending: string): boolean {

Callers 15

ktxdecompressFunction · 0.90
toktxFunction · 0.90
utils.test.tsFile · 0.90
unpartitionFunction · 0.85
normalsFunction · 0.85
uninstanceFunction · 0.85
sparseFunction · 0.85
vertexColorSpaceFunction · 0.85
metalRoughFunction · 0.85
paletteFunction · 0.85
unweldFunction · 0.85
sequenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected