GLChooseProgram CallableGLChooseProgram(gl, color, fullAlpha, blendingMode): WebGLProgramChooses right program using input parametersParametersgl: WebGL2RenderingContextWebGL contextcolor: stringColor of the image to drawfullAlpha: booleanWhether or not the full alpha should be renderedblendingMode: GlobalCompositeOperationblending mode for drawing the imageReturns WebGLProgramThe chosen WebGL program
Chooses right program using input parameters