osg::ref_ptr< osg::Texture > getOsgTexture() const
Returns the osg::Texture1D.
Definition: OsgTexture.h:44
virtual void clearImage()
Removes the image from the texture.
Definition: OsgTexture.cpp:42
Base class for OSG implementations of Graphics Textures.
Definition: OsgTexture.h:32
virtual bool loadImage(const std::string &filePath)
Loads an image into the texture from a file.
Definition: OsgTexture.cpp:27
Base class defining the interface for a Graphics Texture.
Definition: Texture.h:28
OsgTexture(osg::Texture *texture)
Constructor.
Definition: OsgTexture.cpp:22