HI!
Currently I have this texture getting generated by a plugin that I'm using:
glGenTextures(1, textureHandle);
glBindTexture(GL_TEXTURE_2D, textureHandle);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D,
Hi Steven,
yes, you can wrap your GL texture handle with osg::Textire2D object. Here
is some snippet that might help:
snip
GLuint handle = ...;
osg::ref_ptrosg::Texture2D texture = new osg::Texture2D;
osg::ref_ptrosg::Texture::TextureObject textureObject = new
2 matches
Mail list logo