开发者

OpenGL - what does glDeleteTextures actually do?

(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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜