28 #ifndef __QUAKE3SHADERMANAGER_H__
29 #define __QUAKE3SHADERMANAGER_H__
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
float Real
Software floating point type.
StringVector mScriptPatterns
Template class for creating single-instance global classes.
map< String, Quake3Shader * >::type Quake3ShaderMap
void parseShaderAttrib(const String &line, Quake3Shader *pShader)
SceneBlendFactor
Blending factors for manually blending objects with the scene.
void clear(void)
Clear all the current shaders.
static Quake3ShaderManager & getSingleton(void)
Override standard Singleton retrieval.
Quake3ShaderMap mShaderMap
Abstract class defining the interface used by classes which wish to perform script loading to define ...
void parseShaderPassAttrib(const String &line, Quake3Shader *pShader, Quake3Shader::Pass *pPass)
void parseNewShaderPass(DataStreamPtr &stream, Quake3Shader *pShader)
static Quake3ShaderManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
SceneBlendFactor convertBlendFunc(const String &q3func)
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
vector< String >::type StringVector
Quake3Shader * getByName(const String &name)
Retrieve a Quake3Shader by name.
Quake3Shader * create(const String &name)
Create implementation.
Class for managing Quake3 custom shaders.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
virtual ~Quake3ShaderManager()
Class for recording Quake3 shaders.