glCreateShader function opengl_glext

int glCreateShader(
  1. int type
)
GLAPI GLuint APIENTRY glCreateShader (GLenum type)

Implementation

int glCreateShader(int type) {
  final glCreateShaderAsFunction = _glCreateShader
      .cast<NativeFunction<Uint32 Function(Uint32 type)>>()
      .asFunction<int Function(int type)>();
  return glCreateShaderAsFunction(type);
}