patchShader
patchShader(
shader
):string
Patches the given shader string by adding a condition for indirect instancing support.
Parameters
• shader: string
The shader code to modify.
Returns
string
The modified shader code with the additional instancing condition.