Basic VBO Functions
The following functions form the core of VBO access and manipulation:
- In OpenGL 2.1:
- GenBuffersARB(sizei n, uint *buffers)
- Generates a new VBO and returns its ID number as an unsigned integer. Id 0 is reserved.
-
- BindBufferARB(enum target, uint buffer)
- Use a previously created buffer as the active VBO.
-
- BufferDataARB(enum target, sizeiptrARB size, const void *data, enum usage)
- Upload data to the active VBO.
-
- DeleteBuffersARB(sizei n, const uint *buffers)
- Deletes the specified number of VBOs from the supplied array or VBO id.
- In OpenGL 3.x and OpenGL 4.x:
- GenBuffers(sizei n, uint *buffers)
- Generates a new VBO and returns its ID number as an unsigned integer. Id 0 is reserved.
-
- BindBuffer(enum target, uint buffer)
- Use a previously created buffer as the active VBO.
-
- BufferData(enum target, sizeiptrARB size, const void *data, enum usage)
- Upload data to the active VBO.
-
- DeleteBuffers(sizei n, const uint *buffers)
- Deletes the specified number of VBOs from the supplied array or VBO id.
Read more about this topic: Vertex Buffer Object
Famous quotes containing the words basic and/or functions:
“It is easier to move rivers and mountains than to change a persons basic nature.”
—Chinese proverb.
“In todays world parents find themselves at the mercy of a society which imposes pressures and priorities that allow neither time nor place for meaningful activities and relations between children and adults, which downgrade the role of parents and the functions of parenthood, and which prevent the parent from doing things he wants to do as a guide, friend, and companion to his children.”
—Urie Bronfenbrenner (b. 1917)