glMapBufferRangeExt function

Pointer<Void> glMapBufferRangeExt(
  1. int target,
  2. int offset,
  3. int length,
  4. int access,
)
define glMapBufferRangeEXT GLEW_GET_FUN(__glewMapBufferRangeEXT)
GLEW_FUN_EXPORT PFNGLMAPBUFFERRANGEEXTPROC __glewMapBufferRangeEXT
typedef void * (GLAPIENTRY * PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)

Implementation

Pointer<Void> glMapBufferRangeExt(
    int target, int offset, int length, int access) {
  final glMapBufferRangeExtAsFunction = _glMapBufferRangeExt
      .cast<
          NativeFunction<
              Pointer<Void> Function(Uint32 target, Uint64 offset,
                  Uint64 length, Uint32 access)>>()
      .asFunction<
          Pointer<Void> Function(
              int target, int offset, int length, int access)>();
  return glMapBufferRangeExtAsFunction(target, offset, length, access);
}