Texture
Hi to all, I''m quite new to OpenGL programming.
Once I''ve created a texture with glGenTexture, read a bitmap file, etc... can I do somehing like that:
...
GLuint oldTexture;
GLuint newTexture;
glGenTexture(1, &oldTexture);
//etc...
newTexture = oldTexture;
?
Can I call glBindTexture(newTexture)? Does it works?
Thanx to all =)
November 14, 2000 08:14 AM
Yes, it will work...
glGenTextures stores a number in the variable(s) you specify and it is that number that is important, it doesn''t matter which variable holds the value.
glGenTextures stores a number in the variable(s) you specify and it is that number that is important, it doesn''t matter which variable holds the value.
Thanx, I''ve tried, but it didn''t work, maybe I''ve mistaken somthing else...
I''ll try againg =)))
I''ll try againg =)))
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement