What happens if I do not delete the vertex buffer object when I exit the program?

In all the documents and tutorials that I read about Vertex Buffer Objects, the authors all mention that you must remove VBO before exiting the application.

If a program crashes or gets killed in such a way that the program cannot delete VBO, what happens with VBO? Is it stored in the GPU RAM until the computer restarts, or does the GPU eventually restore the memory occupied by VBO?

+8
opengl vbo
source share
1 answer

An OpenGL implementation will clear all objects that are left unoccupied. This does not mean that you should simply leave them lying, but you do not need to take measures to ensure the destruction of objects in case of exceptional circumstances (for example, a failure).

+8
source share

All Articles