FlightGear next
texture_replace.hxx File Reference
#include <simgear/canvas/canvas_fwd.hxx>

Go to the source code of this file.

Namespaces

namespace  canvas
 

Functions

simgear::canvas::Placements canvas::set_texture (osg::Node *branch, const char *name, osg::Texture2D *new_texture)
 Replace an opengl texture name inside a given branch of the scene graph.
 
simgear::canvas::Placements canvas::set_aircraft_texture (const char *name, osg::Texture2D *new_texture)
 Replace an opengl texture name inside the aircraft scene graph.
 
simgear::canvas::Placements canvas::set_texture (osg::Node *branch, SGPropertyNode *placement, osg::Texture2D *new_texture, osg::NodeCallback *cull_callback=0, const simgear::canvas::CanvasWeakPtr &canvas=simgear::canvas::CanvasWeakPtr())
 Replace an opengl texture name inside a given branch of the scene graph.
 
simgear::canvas::Placements canvas::set_aircraft_texture (SGPropertyNode *placement, osg::Texture2D *new_texture, osg::NodeCallback *cull_callback=0, const simgear::canvas::CanvasWeakPtr &canvas=simgear::canvas::CanvasWeakPtr())
 Replace an opengl texture name inside the aircraft scene graph.