OpenSceneGraph
3.4.0
|
#include <string>
#include <osg/Node>
#include <osg/Image>
#include <osg/ArgumentParser>
#include <osgDB/Export>
#include <osgDB/Registry>
Namespaces | |
namespace | osgDB |
The osgDB library provides support for reading and writing scene graphs, providing a plugin framework and file utility classes. | |
Defines | |
#define | OSGDB_READFILE 1 |
Functions | |
OSGDB_EXPORT osg::Object * | osgDB::readObjectFile (const std::string &filename, const Options *options) |
Read an osg::Object from file. | |
osg::Object * | osgDB::readObjectFile (const std::string &filename) |
Read an osg::Object from file. | |
template<typename T > | |
T * | osgDB::readFile (const std::string &filename, const Options *options) |
template<typename T > | |
T * | osgDB::readFile (const std::string &filename) |
OSGDB_EXPORT osg::Image * | osgDB::readImageFile (const std::string &filename, const Options *options) |
Read an osg::Image from file. | |
osg::Image * | osgDB::readImageFile (const std::string &filename) |
Read an osg::Image from file. | |
OSGDB_EXPORT osg::HeightField * | osgDB::readHeightFieldFile (const std::string &filename, const Options *options) |
Read an osg::HeightField from file. | |
osg::HeightField * | osgDB::readHeightFieldFile (const std::string &filename) |
Read an osg::HeightField from file. | |
OSGDB_EXPORT osg::Node * | osgDB::readNodeFile (const std::string &filename, const Options *options) |
Read an osg::Node from file. | |
osg::Node * | osgDB::readNodeFile (const std::string &filename) |
Read an osg::Node from file. | |
OSGDB_EXPORT osg::Node * | osgDB::readNodeFiles (std::vector< std::string > &fileList, const Options *options) |
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. | |
osg::Node * | osgDB::readNodeFiles (std::vector< std::string > &fileList) |
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. | |
OSGDB_EXPORT osg::Node * | osgDB::readNodeFiles (osg::ArgumentParser &parser, const Options *options) |
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. | |
osg::Node * | osgDB::readNodeFiles (osg::ArgumentParser &parser) |
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. | |
OSGDB_EXPORT osg::Shader * | osgDB::readShaderFile (const std::string &filename, const Options *options) |
Read an osg::Shader from file. | |
osg::Shader * | osgDB::readShaderFile (const std::string &filename) |
Read an osg::Shader from file. | |
osg::Shader * | osgDB::readShaderFile (osg::Shader::Type type, const std::string &filename, const Options *options) |
Read an osg::Shader from file and set to specified shader type. | |
osg::Shader * | osgDB::readShaderFile (osg::Shader::Type type, const std::string &filename) |
Read an osg::Shader from file and set to specified shader type Return valid osg::Shader on success, return NULL on failure. | |
osg::Shader * | osgDB::readShaderFileWithFallback (osg::Shader::Type type, const std::string &filename, const Options *options, const char *fallback) |
Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. | |
osg::Shader * | osgDB::readShaderFileWithFallback (osg::Shader::Type type, const std::string &filename, const char *fallback) |
Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. | |
OSGDB_EXPORT osg::Script * | osgDB::readScriptFile (const std::string &filename, const Options *options) |
Read an osg::Script from file. | |
osg::Script * | osgDB::readScriptFile (const std::string &filename) |
Read an osg::Script from file. | |
OSGDB_EXPORT osg::ref_ptr < osg::Object > | osgDB::readRefObjectFile (const std::string &filename, const Options *options) |
Read an osg::Object from file. | |
osg::ref_ptr< osg::Object > | osgDB::readRefObjectFile (const std::string &filename) |
Read an osg::Object from file. | |
OSGDB_EXPORT osg::ref_ptr < osg::Image > | osgDB::readRefImageFile (const std::string &filename, const Options *options) |
Read an osg::Image from file. | |
osg::ref_ptr< osg::Image > | osgDB::readRefImageFile (const std::string &filename) |
Read an osg::Image from file. | |
OSGDB_EXPORT osg::ref_ptr < osg::HeightField > | osgDB::readRefHeightFieldFile (const std::string &filename, const Options *options) |
Read an osg::HeightField from file. | |
osg::ref_ptr< osg::HeightField > | osgDB::readRefHeightFieldFile (const std::string &filename) |
Read an osg::HeightField from file. | |
OSGDB_EXPORT osg::ref_ptr < osg::Node > | osgDB::readRefNodeFile (const std::string &filename, const Options *options) |
Read an osg::Node from file. | |
osg::ref_ptr< osg::Node > | osgDB::readRefNodeFile (const std::string &filename) |
Read an osg::Node from file. | |
OSGDB_EXPORT osg::ref_ptr < osg::Shader > | osgDB::readRefShaderFile (const std::string &filename, const Options *options) |
Read an osg::Shader from file. | |
osg::ref_ptr< osg::Shader > | osgDB::readRefShaderFile (const std::string &filename) |
Read an osg::Shader from file. | |
osg::ref_ptr< osg::Shader > | osgDB::readRefShaderFile (osg::Shader::Type type, const std::string &filename, const Options *options) |
Read an osg::Shader from file and set to specified shader type. | |
osg::ref_ptr< osg::Shader > | osgDB::readRefShaderFile (osg::Shader::Type type, const std::string &filename) |
Read an osg::Shader from file and set to specified shader type Return valid osg::Shader on success, return NULL on failure. | |
OSGDB_EXPORT osg::ref_ptr < osg::Script > | osgDB::readRefScriptFile (const std::string &filename, const Options *options) |
Read an osg::Script from file. | |
osg::ref_ptr< osg::Script > | osgDB::readRefScriptFile (const std::string &filename) |
Read an osg::Script from file. |
#define OSGDB_READFILE 1 |
![]() | Generated at Tue Dec 8 2015 00:16:39 for the OpenSceneGraph by doxygen 1.7.6.1. |