glMapNamedBufferRangeExt function opengl_glext

Pointer<Void> glMapNamedBufferRangeExt(
  1. int buffer,
  2. int offset,
  3. int length,
  4. int access,
)
GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access)

Implementation

Pointer<Void> glMapNamedBufferRangeExt(
  int buffer,
  int offset,
  int length,
  int access,
) {
  final glMapNamedBufferRangeExtAsFunction = _glMapNamedBufferRangeExt
      .cast<
        NativeFunction<
          Pointer<Void> Function(
            Uint32 buffer,
            IntPtr offset,
            IntPtr length,
            Uint32 access,
          )
        >
      >()
      .asFunction<
        Pointer<Void> Function(int buffer, int offset, int length, int access)
      >();
  return glMapNamedBufferRangeExtAsFunction(buffer, offset, length, access);
}