SPIN Framework
|
Allows reception of video from an other process into an OSG texture. More...
#include <SharedVideoTexture.h>
Public Member Functions | |
SharedVideoTexture (SceneManager *sceneManager, const char *initID) | |
void | setTextureID (const char *id) |
const char * | getTextureID () const |
const char * | getPath () const |
std::vector< lo_message > | getState () const |
void | debug () |
void | play () |
void | pause () |
Allows reception of video from an other process into an OSG texture.
This is accomplished by the use of libshmdata. http://code.sat.qc.ca/redmine/projects/libshmdata
Note however, that this node will be available regardless of the library's presence. This is because we still want to know about it on ALL servers or clients, regardless of platform or available libraries.
ie, this node still has reduced funtionality on non-supported platforms.
void spin::SharedVideoTexture::debug | ( | ) | [virtual] |
Print debug information to console.
Reimplemented from spin::Shader.
std::vector< lo_message > spin::SharedVideoTexture::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.