glNamedBufferPageCommitmentMemNv function opengl_glext

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

Implementation

void glNamedBufferPageCommitmentMemNv(
  int buffer,
  Pointer<NativeType> offset,
  Pointer<Uint32> size,
  int memory,
  int memOffset,
  int commit,
) {
  final glNamedBufferPageCommitmentMemNvAsFunction =
      _glNamedBufferPageCommitmentMemNv
          .cast<
            NativeFunction<
              Void Function(
                Uint32 buffer,
                Pointer<NativeType> offset,
                Pointer<Uint32> size,
                Uint32 memory,
                Uint64 memOffset,
                Int32 commit,
              )
            >
          >()
          .asFunction<
            void Function(
              int buffer,
              Pointer<NativeType> offset,
              Pointer<Uint32> size,
              int memory,
              int memOffset,
              int commit,
            )
          >();
  return glNamedBufferPageCommitmentMemNvAsFunction(
    buffer,
    offset,
    size,
    memory,
    memOffset,
    commit,
  );
}