useProgram method

void useProgram(
  1. WebGLProgram? program
)

The WebGLRenderingContext.useProgram() method of the WebGL API sets the specified WebGLProgram as part of the current rendering state.

Implementation

external void useProgram(WebGLProgram? program);