glCreateShaderProgramv function

int glCreateShaderProgramv(
  1. int type,
  2. int count,
  3. Pointer<Pointer<Utf8>> strings
)
define glCreateShaderProgramv GLEW_GET_FUN(__glewCreateShaderProgramv)
GLEW_FUN_EXPORT PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv
typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar * const * strings)

Implementation

int glCreateShaderProgramv(
    int type, int count, Pointer<Pointer<Utf8>> strings) {
  final glCreateShaderProgramvAsFunction = _glCreateShaderProgramv
      .cast<
          NativeFunction<
              Uint32 Function(
                  Uint32 type, Uint32 count, Pointer<Pointer<Utf8>> strings)>>()
      .asFunction<
          int Function(int type, int count, Pointer<Pointer<Utf8>> strings)>();
  return glCreateShaderProgramvAsFunction(type, count, strings);
}