glGetUniformBlockIndex method

int glGetUniformBlockIndex(
  1. int program,
  2. Pointer<Int8> uniformBlockName
)

Implementation

int glGetUniformBlockIndex(
  int program,
  ffi.Pointer<ffi.Int8> uniformBlockName,
) {
  return (_glGetUniformBlockIndex ??= _dylib.lookupFunction<
      _c_glGetUniformBlockIndex,
      _dart_glGetUniformBlockIndex>('glGetUniformBlockIndex'))(
    program,
    uniformBlockName,
  );
}