View Full Version : Update Texture content
07-28-2003, 03:50 PM
In my program, I need to frequently update the content of Texture.
can I just use
do I need also use glDeleteTextures
and bind again?
glTexSubImage might be more efficient, if the texture has always the same size. Memory allocation for the texture is not necessary in that case and you do not need to delete the texture. If you use data from the framebuffer, glCopyTexSubImage is the fastest method (except you are able to use PBuffers).
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.