getAttribLocation method
The WebGLRenderingContext.getAttribLocation()
method of
the
WebGL API
returns the location of an
attribute variable in a given WebGLProgram.
Implementation
external GLint getAttribLocation(
WebGLProgram program,
String name,
);