accessing OpenGL texture IDs


04-11-2009 22:27:57


In my Python-Ogre project, I'm using a third-party library that does some image processing on OpenGL textures. I need a little help figuring out how to get texture IDs (GLuints) from my render targets in Python-Ogre, so that I can pass them into the external library. I was thinking possibly Texture::getHandle() or RenderTarget::getCustomAttribute()? Any guidance would be appreciated.