glGetDebugMessageLog method

int glGetDebugMessageLog(
  1. int count,
  2. int bufSize,
  3. Pointer<Uint32> sources,
  4. Pointer<Uint32> types,
  5. Pointer<Uint32> ids,
  6. Pointer<Uint32> severities,
  7. Pointer<Int32> lengths,
  8. Pointer<Int8> messageLog,
)

Implementation

int glGetDebugMessageLog(
  int count,
  int bufSize,
  ffi.Pointer<ffi.Uint32> sources,
  ffi.Pointer<ffi.Uint32> types,
  ffi.Pointer<ffi.Uint32> ids,
  ffi.Pointer<ffi.Uint32> severities,
  ffi.Pointer<ffi.Int32> lengths,
  ffi.Pointer<ffi.Int8> messageLog,
) {
  return (_glGetDebugMessageLog ??= _dylib.lookupFunction<
      _c_glGetDebugMessageLog,
      _dart_glGetDebugMessageLog>('glGetDebugMessageLog'))(
    count,
    bufSize,
    sources,
    types,
    ids,
    severities,
    lengths,
    messageLog,
  );
}