bindAttribLocation method

void bindAttribLocation(
  1. Program program,
  2. int index,
  3. String name
)

Implementation

void bindAttribLocation(Program program, int index, String name){
  startCheck('bindAttribLocation');
  final locationName = name.toNativeUtf8();
  gl.glBindAttribLocation(program.id, index,locationName.cast());
  checkError('bindAttribLocation');
  calloc.free(locationName);
}