Reputation: 2406
(Mac OS X, iOS apps)
Q. What does glDeleteTextures actually do, on the above platforms?
(The official documentation is... sparse, at best.)
In terms of mem management, do the textures actually get removed from the video card? (Or at least their space set to reusable?)
Cheers.
Upvotes: 2
Views: 520
Reputation: 56417
It basically signals the OpenGL implementation that you want to dispose the resources allocated to a texture. The resources (VRAM, System RAM, etc) aren't deallocated right away, since the GPU might still be using them. But you can be sure that they will be deallocated.
Upvotes: 3