getUniformIndices method

JSArray<JSNumber>? getUniformIndices(
  1. WebGLProgram program,
  2. JSArray<JSString> uniformNames
)

The WebGL2RenderingContext.getUniformIndices() method of the WebGL 2 API retrieves the indices of a number of uniforms within a WebGLProgram.

Implementation

external JSArray<JSNumber>? getUniformIndices(
  WebGLProgram program,
  JSArray<JSString> uniformNames,
);