GLintptr
GLintptr is a data type defined by the OpenGL specification that represents a signed integer large enough to hold a pointer. It is used to express memory offsets within buffer objects and, when no buffer object is bound, to pass client-side pointers. The type provides a pointer-sized integer representation to accommodate different architectures and address spaces.
In practice, GLintptr is defined as a platform-dependent integral type, commonly corresponding to intptr_t. On 64-bit
Usage examples include functions such as glBufferSubData(target, GLintptr offset, GLsizeiptr size, const void data) and glMapBufferRange(target,
GLintptr is one of the core GL type definitions used to ensure compatibility of pointer-sized values in