SPIN Framework
Public Member Functions

spin::SyphonTexture Class Reference

A texture state that holds a static image. More...

#include <SyphonTexture.h>

Inheritance diagram for spin::SyphonTexture:
spin::Shader spin::ReferencedStateSet

List of all members.

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

Detailed Description

A texture state that holds a static image.


Member Function Documentation

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.


The documentation for this class was generated from the following files: