validateProgram method

void validateProgram(
  1. WebGLProgram program
)

The WebGLRenderingContext.validateProgram() method of the WebGL API validates a WebGLProgram. It checks if it is successfully linked and if it can be used in the current WebGL state.

Implementation

external void validateProgram(WebGLProgram program);