Clarify the use of unsigned int vs GLuint when creating the VBO -Getting started /Hello Triangle chapter

Author: LAS-101Created Sep 26, 2026Updated Sep 26, 2026

In the Vertex buffer objects (VBO) example the buffer ID is declared as:

cpp
unsigned int VBO;
glGenBuffers(1, &VBO);

Since OpengGL defines GLuint as its unsigned integer type for object IDs, beginners may wonder why unsigned int is used here instead of GLuint

it might be helpful to either : Use GLuint directly:

cpp
GLuint VBO;
glGenBuffers(1,&VBO);

or Add a short explanation that GLuint is an OpenGL-defined unsigned integer type.