- SGMaterial( const std::string &fg_root, const SGPropertyNode *props);
-
-
- /**
- * Construct a material from an absolute texture path.
- *
- * @param texture_path A string containing an absolute path
- * to a texture file (usually RGB).
- */
- SGMaterial( const std::string &texpath );
-
-
- /**
- * Construct a material around an existing state.
- *
- * This constructor allows the application to create a custom,
- * low-level state for the scene graph and wrap a material around
- * it. Note: the pointer ownership is transferred to the material.
- *
- * @param s The state for this material.
- */
- SGMaterial( osg::StateSet *s );