[osg-users] Question about .dll only usage.

Robert Osfield robert.osfield at gmail.com
Mon Dec 31 01:34:33 PST 2018


Hi ???

The OSG has no dll specific mechanism, and while I have no WIndows
expertise my understanding is part of the point of the dll is that it
doesn't have a public interface, this is in the .lib.

However, the OSG has support of class introspection via the
serializers that are provided for the native binary/ascii/xml  reading
and writing.  The osgDB::ClassInterface class in 3.4 onwards provide a
means of querying what methods+properties are available, calling
methods and setting/getting properties and creating instances.

The most extensive example of ClassInterface in action is found in the
OpenSceneGraph/src/osgPlygins/lua plugin that uses ClassInterface to
automatically create bindings between the C++ OSG and Lua.

Cheers,
Robert.


More information about the osg-users mailing list