glMapNamedBufferRangeExt function opengl_glext

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

Implementation

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