Hi Robert, oh, yes, this should work, but where do I get this state from? And anywhere, what is this state? An OpenGL state or something else?
bye Oliver Robert Osfield wrote: > On 7/3/06, Oliver Kutter <[EMAIL PROTECTED]> wrote: >> is there any way, I can get the id (or the name) of a texture? I want to >> use glBindTexture manually and I need the id/name as parameter for it. >> Or is there any other way I can bind the texture at a specific moment? > > Would a texture->apply(state) not be sufficient? > > If you really need to the texture id then look at the TextureObject > data structure, there is one TextureObject per graphics context. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
