PDA

View Full Version : Simple Texturing Question...



2
05-08-2001, 09:14 PM
Do you have to generate all your textures in one batch (via glGenTextures), or can you do a series of 1, 2 or whatever? Pretty much, can I call a series of glGenTextures's, or do I have to call them all in one? Thanks for any help.

ffish
05-08-2001, 09:20 PM
You can call them in 1's and 2's if you want - more overhead though. It's best to call them in one go for that reason. If you call glGenTextures several times, watch that the names of the textures are unique. If you want to reuse texture objects, look at glDeleteTextures (I think that's the right name).