ShaderSystem Class Reference

#include <ishadersystem.h>

Public Member Functions

 INTEGER_CONSTANT (Version, 1)
 STRING_CONSTANT (Name,"shaders")
virtual ~ShaderSystem ()
virtual void realise ()=0
virtual void unrealise ()=0
virtual void refresh ()=0
virtual IShadergetShaderForName (const std::string &name)=0
virtual void foreachShaderName (const ShaderNameCallback &callback)=0
virtual void beginActiveShadersIterator ()=0
virtual bool endActiveShadersIterator ()=0
virtual IShaderdereferenceActiveShadersIterator ()=0
virtual void incrementActiveShadersIterator ()=0
virtual void setActiveShadersChangedNotify (const Callback &notify)=0
virtual void attach (ModuleObserver &observer)=0
virtual void detach (ModuleObserver &observer)=0
virtual const std::stringgetTexturePrefix () const =0

Detailed Description

Note:
shader and texture names used must be full path. Shaders usable as textures have prefix equal to getTexturePrefix()

Definition at line 47 of file ishadersystem.h.


Constructor & Destructor Documentation

virtual ShaderSystem::~ShaderSystem (  )  [inline, virtual]

Definition at line 53 of file ishadersystem.h.


Member Function Documentation

virtual void ShaderSystem::attach ( ModuleObserver &  observer  )  [pure virtual]
virtual void ShaderSystem::beginActiveShadersIterator (  )  [pure virtual]

iterate over the list of active shaders

virtual IShader* ShaderSystem::dereferenceActiveShadersIterator (  )  [pure virtual]
virtual void ShaderSystem::detach ( ModuleObserver &  observer  )  [pure virtual]
virtual bool ShaderSystem::endActiveShadersIterator (  )  [pure virtual]
virtual void ShaderSystem::foreachShaderName ( const ShaderNameCallback callback  )  [pure virtual]
virtual IShader* ShaderSystem::getShaderForName ( const std::string name  )  [pure virtual]

activate the shader for a given name and return it will return the default shader if name is not found

virtual const std::string& ShaderSystem::getTexturePrefix (  )  const [pure virtual]

Referenced by GlobalTexturePrefix_get().

virtual void ShaderSystem::incrementActiveShadersIterator (  )  [pure virtual]
ShaderSystem::INTEGER_CONSTANT ( Version  ,
 
)
virtual void ShaderSystem::realise (  )  [pure virtual]
virtual void ShaderSystem::refresh (  )  [pure virtual]
virtual void ShaderSystem::setActiveShadersChangedNotify ( const Callback &  notify  )  [pure virtual]
ShaderSystem::STRING_CONSTANT ( Name  ,
"shaders"   
)
virtual void ShaderSystem::unrealise (  )  [pure virtual]

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

Generated by  doxygen 1.6.2