glCreateShaderProgramv function opengl_glext

int glCreateShaderProgramv(
  1. int type,
  2. int count,
  3. Pointer<Pointer<Int8>> strings
)
GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings)

Implementation

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