pixi-jsFunctions
Function: addBits()
> addBits(srcParts, parts, name?): void
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/utils/addBits.d.ts:8
Internal
takes the HighFragment source parts and adds them to the hook hash
Parameters
srcParts
Record<string, string>
the hash of hook arrays
parts
Record<string, string[]>
the code to inject into the hooks
name?
string
optional the name of the part to add
Returns
void