|
opensurgsim
|
Base class defining the interface for a Graphics Texture. More...
#include <Texture.h>
Public Member Functions | |
| virtual | ~Texture () |
| Destructor. | |
| 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. | |
| void | setIsPointSprite (bool value) |
| Set point sprite flag on/off. | |
| bool | isPointSprite () const |
| Get point sprite flag state. | |
Base class defining the interface for a Graphics Texture.
|
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.
1.8.12