GLChooseProgram
Callable
Parameters
gl: WebGL2RenderingContext
WebGL context
color: string
Color of the image to draw
fullAlpha: boolean
Whether or not the full alpha should be rendered
blendingMode: GlobalCompositeOperation
blending mode for drawing the image
Returns WebGLProgram
- The chosen WebGL program
Chooses right program using input parameters