opensurgsim
|
Concrete OSG Texture for testing. More...
Public Member Functions | |
MockOsgTexture () | |
Constructor. | |
![]() | |
virtual bool | loadImage (const std::string &filePath) |
Loads an image into the texture from a file. More... | |
virtual void | clearImage () |
Removes the image from the texture. | |
osg::ref_ptr< osg::Texture > | getOsgTexture () const |
Returns the osg::Texture1D. | |
![]() | |
virtual | ~Texture () |
Destructor. | |
void | setIsPointSprite (bool value) |
Set point sprite flag on/off. | |
bool | isPointSprite () const |
Get point sprite flag state. | |
Additional Inherited Members | |
![]() | |
OsgTexture (osg::Texture *texture) | |
Constructor. More... | |
Concrete OSG Texture for testing.
Wraps an osg::Texture2D.