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:
“The research on gender and morality shows that women and men looked at the world through very different moral frameworks. Men tend to think in terms of justice or absolute right and wrong, while women define morality through the filter of how relationships will be affected. Given these basic differences, why would men and women suddenly agree about disciplining children?”
—Ron Taffel (20th century)
“One of the most highly valued functions of used parents these days is to be the villains of their childrens lives, the people the child blames for any shortcomings or disappointments. But if your identity comes from your parents failings, then you remain forever a member of the child generation, stuck and unable to move on to an adulthood in which you identify yourself in terms of what you do, not what has been done to you.”
—Frank Pittman (20th century)