Hi, is it possible to check if a texture with an ID of 1 (or any other number than 0) have been generated, or, is free to use?
(The number returned by glGenTextures)
I think i've saw how to do this once but i can't remember how...
Texture ID Question...
You can use the function glIsTexture to determine if a texture with an ID has been created (you have called glBindTexture on it), but there is no function to determine if it has only been allocated as a name (returned by glGenTexture). If this is a problem then you need to track the allocated IDs yourself.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement