glCreateShaderObjectArb function opengl_glext

Pointer<Void> glCreateShaderObjectArb(
  1. int shaderType
)
GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType)

Implementation

Pointer<Void> glCreateShaderObjectArb(int shaderType) {
  final glCreateShaderObjectArbAsFunction = _glCreateShaderObjectArb
      .cast<NativeFunction<Pointer<Void> Function(Uint32 shaderType)>>()
      .asFunction<Pointer<Void> Function(int shaderType)>();
  return glCreateShaderObjectArbAsFunction(shaderType);
}