String concatenation as a function of shader
- RenderBufferDirect execution bufferdirect
- SetProgram setup program
- InitMaterial enable material
- If Program had a shaderID it would return
- getProgramCacheKey
- GetParameters has fields to update
- Parameters to determine which fields need to be spliced is just a judgment
- You need to check whether the shader is updated
- If you do want to concatenate WebGLProgram, do a new shader concatenation
- AcquireProgram cache program
- WebGLProgram shader string concatenation
Set the functions for fusion
- renderBufferDirect
- setMaterial
- setBlending
- enable