bindAttribLocation method

void bindAttribLocation(
  1. WebGLProgram program,
  2. GLuint index,
  3. String name
)

The WebGLRenderingContext.bindAttribLocation() method of the WebGL API binds a generic vertex index to an attribute variable.

Implementation

external void bindAttribLocation(
  WebGLProgram program,
  GLuint index,
  String name,
);