glMapBufferRange function
define glMapBufferRange GLEW_GET_FUN(__glewMapBufferRange)
GLEW_FUN_EXPORT PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange
typedef void * (GLAPIENTRY * PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
Implementation
Pointer<Void> glMapBufferRange(int target, int offset, int length, int access) {
final glMapBufferRangeAsFunction = _glMapBufferRange
.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 glMapBufferRangeAsFunction(target, offset, length, access);
}