glCreatePerfQueryIntel function

void glCreatePerfQueryIntel(
  1. int queryId,
  2. Pointer<Uint32> queryHandle
)
define glCreatePerfQueryINTEL GLEW_GET_FUN(__glewCreatePerfQueryINTEL)
GLEW_FUN_EXPORT PFNGLCREATEPERFQUERYINTELPROC __glewCreatePerfQueryINTEL
typedef void (GLAPIENTRY * PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint* queryHandle)

Implementation

void glCreatePerfQueryIntel(int queryId, Pointer<Uint32> queryHandle) {
  final glCreatePerfQueryIntelAsFunction = _glCreatePerfQueryIntel
      .cast<
          NativeFunction<
              Void Function(Uint32 queryId, Pointer<Uint32> queryHandle)>>()
      .asFunction<void Function(int queryId, Pointer<Uint32> queryHandle)>();
  return glCreatePerfQueryIntelAsFunction(queryId, queryHandle);
}