glBufferPageCommitmentMemNv function opengl_glext

void glBufferPageCommitmentMemNv(
  1. int target,
  2. Pointer<NativeType> offset,
  3. Pointer<Uint32> size,
  4. int memory,
  5. int memOffset,
  6. int commit,
)
GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit)

Implementation

void glBufferPageCommitmentMemNv(
  int target,
  Pointer<NativeType> offset,
  Pointer<Uint32> size,
  int memory,
  int memOffset,
  int commit,
) {
  final glBufferPageCommitmentMemNvAsFunction = _glBufferPageCommitmentMemNv
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Pointer<NativeType> offset,
            Pointer<Uint32> size,
            Uint32 memory,
            Uint64 memOffset,
            Int32 commit,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          Pointer<NativeType> offset,
          Pointer<Uint32> size,
          int memory,
          int memOffset,
          int commit,
        )
      >();
  return glBufferPageCommitmentMemNvAsFunction(
    target,
    offset,
    size,
    memory,
    memOffset,
    commit,
  );
}