glMapNamedBufferExt function opengl_glext

Pointer<NativeType> glMapNamedBufferExt(
  1. int buffer,
  2. int access
)
GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access)

Implementation

Pointer<NativeType> glMapNamedBufferExt(int buffer, int access) {
  final glMapNamedBufferExtAsFunction = _glMapNamedBufferExt
      .cast<
        NativeFunction<
          Pointer<NativeType> Function(Uint32 buffer, Uint32 access)
        >
      >()
      .asFunction<Pointer<NativeType> Function(int buffer, int access)>();
  return glMapNamedBufferExtAsFunction(buffer, access);
}