getUniformBlockIndex method
Implementation
int getUniformBlockIndex(Program program, String uniformBlockName){
var sourceString = uniformBlockName.toNativeUtf8();
var arrayPointer = Pointer<Int8>.fromAddress(sourceString.address);
int i = gl.glGetUniformBlockIndex(program.id, arrayPointer);
calloc.free(arrayPointer);
calloc.free(sourceString);
return i;
}