[osg-users] getTextureObjectManager not found

Voerman, L. l.voerman at rug.nl
Fri Mar 15 04:01:05 PDT 2019


Hi Shane,
maybe this can help you:
//from State::setMaxTexturePoolSize(unsigned int size)
osg::get<TextureObjectManager>(_contextID)->setMaxTexturePoolSize(size)
I have no idea why you are doing this, as I don't know the Cookbook at all.
So dropping the line and leave the default might be an option too.

Laurens.

On Fri, Mar 15, 2019 at 10:50 AM Shane MacLaughlin <shane at atlascomputers.ie>
wrote:

> Hi,
>
> I'm rebuilding some older code from the OpenSceneGraph Cookbook, and while
> I've had a number of minor build errors, most are easy enough to correct.
> One I'm having difficulty with is
>
> osg::Texture::getTextureObjectManager(0)->setMaxTexturePoolSize( 64000 );
>
> which reports
>
>  error C2039: 'getTextureObjectManager': is not a member of 'osg::Texture'
>
> Going back to OpenSceneGraph 3.4.0 it is there, but not 3.6.3.  Just
> wondering if there is a work around or am I better sticking to OSG 3.4.0
> for the older code?
>
> Thank you!
>
> Cheers,
> Shane
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75716#75716
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190315/38389947/attachment.html>


More information about the osg-users mailing list