![]() |
Base class defining the interface for a Graphics Texture. More...
#include <SurgSim/Graphics/Texture.h>
Public Member Functions | |
virtual | ~Texture () |
Destructor. More... | |
virtual bool | loadImage (const std::string &filePath)=0 |
Loads an image into the texture from a file. More... | |
virtual void | clearImage ()=0 |
Removes the image from the texture. More... | |
|
inlinevirtual |
Destructor.
|
pure virtual |
Removes the image from the texture.
Implemented in SurgSim::Graphics::OsgTexture.
|
pure virtual |
Loads an image into the texture from a file.
filePath | Path to the image file |
Implemented in SurgSim::Graphics::OsgTextureCubeMap, and SurgSim::Graphics::OsgTexture.