module OsgDB: sig .. end
OpenSceneGraph libosgDB wrapper.
Use it with: ocaml -I +camlosg osg.cma osgDB.cma
val read_node_file : string -> Osg.Node.t
Read an
Osg.Node from file.
Return valid
Osg.Node on success,
raises
Failure exception on failure.
Use the Options object to control cache operations and file search paths in osgDB::Registry.
The osgDB::Registry is used to load the appropriate ReaderWriter plugin
for the filename extension, and this plugin then handles the request
to read the specified file.
val read_image_file : string -> Osg.Image.t
Read an
Osg.Image from file.
Return valid
Osg.Image on success,
raises
Failure exception on failure.
Use the Options object to control cache operations and file search paths in osgDB::Registry.
The osgDB::Registry is used to load the appropriate ReaderWriter plugin
for the filename extension, and this plugin then handles the request
to read the specified file.