LogoPixi’VN
pixi-jsFunctions

Function: compileHooks()

> compileHooks(programSrc): Record<string, string[]>

Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/utils/compileHooks.d.ts:6

Internal

takes a program string and returns an hash mapping the hooks to empty arrays

Parameters

programSrc

string

the program containing hooks

Returns

Record<string, string[]>