SPIN Framework
|
A texture state that holds a static image. More...
#include <SyphonTexture.h>
Public Member Functions | |
SyphonTexture (SceneManager *sceneManager, const char *initID) | |
virtual void | debug () |
bool | isValid () const |
void | setPath (const char *newPath) |
const char * | getPath () const |
virtual std::vector< lo_message > | getState () const |
A texture state that holds a static image.
void spin::SyphonTexture::debug | ( | ) | [virtual] |
TO_BE_DONE
Reimplemented from spin::Shader.
std::vector< lo_message > spin::SyphonTexture::getState | ( | ) | const [virtual] |
Just like a ReferencedNode, each subclass of ReferencedStateSet must override the getState() method to pass it's current state.
Reimplemented from spin::Shader.
bool spin::SyphonTexture::isValid | ( | ) | const |
Returns whether there is a currently valid image texture
void spin::SyphonTexture::setPath | ( | const char * | newPath | ) |
Creates a texture from a path on disk.