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