What you need is a managed wrapper for OpenSceneGraph. I am not sure if any such thing exists.
Hint: Microsoft has abandoned their managed wrapper for DirectX for performance reasons.. Christian 2016-04-01 2:19 GMT+02:00 Diwas Bhattarai <osgfo...@tevs.eu>: > Hi, > > I want to use Openscenegraph on my Window Form Application. In the moment > I am writing a Wrapper in CLR application and exporting as a dll and > importing it in my Window Form Application. > > The Problem: > I cannot use > *Code:* > > > > > > osg::ref_ptr osgRodot; > > > in my header file where my ref class is defined. > > > *Quote:* > > > > > > IntelliSense: a member of a managed class cannot be of a non-managed class > type > > > > > But I can use the same code inside any functions of the class. But if I > initialize inside the class I cannot use it in another functions. I want to > use it in different functions so it's need to be accesible to every > functions. > > Anyone already faced this problem and could help me? > > Thank you! > > Cheers, > Diwas > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66696#66696 > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org