14#ifndef OSGDB_WRITEFILE
15#define OSGDB_WRITEFILE 1
The osgDB library provides support for reading and writing scene graphs, providing a plugin framework...
Definition Archive:24
OSGDB_EXPORT bool writeNodeFile(const osg::Node &node, const std::string &filename, const Options *options)
Write an osg::Node to file.
OSGDB_EXPORT bool writeObjectFile(const osg::Object &object, const std::string &filename, const Options *options)
Write an osg::Object to file.
OSGDB_EXPORT bool writeScriptFile(const osg::Script &image, const std::string &filename, const Options *options)
Write an osg::Script to file.
OSGDB_EXPORT bool writeHeightFieldFile(const osg::HeightField &hf, const std::string &filename, const Options *options)
Write an osg::HeightField to file.
OSGDB_EXPORT bool writeShaderFile(const osg::Shader &shader, const std::string &filename, const Options *options)
Write an osg::Shader to file.
OSGDB_EXPORT bool writeImageFile(const osg::Image &image, const std::string &filename, const Options *options)
Write an osg::Image to file.
Image class for encapsulating the storage texture image data.
Definition Image:179
Base class for all internal nodes in the scene graph.
Definition Node:72
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Definition ScriptEngine:30
osg::Shader is an application-level abstraction of an OpenGL glShader.
Definition Shader:89
Options base class used for passing options into plugins to control their operation.
Definition Options:30
static Registry * instance(bool erase=false)
#define OSGDB_EXPORT
Definition Export:39