RenderTechniqueFactory Class Reference

Base abstract class for creating RenderTechnique instances. More...

List of all members.

Public Member Functions

bool isType (String type)
 Returns if this factory can create a RenderTechnique of the given type.
virtual OgreRenderTechniquecreateInstance (IllumTechniqueParams *params, Pass *pass, OgreRenderable *parentRenderable, OgreTechniqueGroup *parentTechniqueGroup)=0
 Creates a RenderTechnique of the factory type.

Protected Types

typedef void(* ILLUM_ATTRIBUTE_PARSER )(String &params, RenderTechniqueFactory *factory)
 function for parsing RenderTechnique attributes
typedef std::map< String,
ILLUM_ATTRIBUTE_PARSER
AttribParserList
 Keyword-mapped attribute parsers.

Protected Attributes

AttribParserList attributeParsers
 map of parser functions
String typeName
 factoryname


Detailed Description

Base abstract class for creating RenderTechnique instances.


Member Typedef Documentation

typedef void(* RenderTechniqueFactory::ILLUM_ATTRIBUTE_PARSER)(String &params, RenderTechniqueFactory *factory) [protected]
 

function for parsing RenderTechnique attributes

Parameters:
params attribute value stored in a String


Member Function Documentation

virtual OgreRenderTechnique* RenderTechniqueFactory::createInstance IllumTechniqueParams *  params,
Pass *  pass,
OgreRenderable parentRenderable,
OgreTechniqueGroup parentTechniqueGroup
[pure virtual]
 

Creates a RenderTechnique of the factory type.

Parameters:
params containes constructor parameters as NameValuePairList
pass the Pass to use in RenderTechnique constructor
pass the parentRenderable to pass to RenderTechnique constructor
pass the parentTechniqueGroup to pass to RenderTechnique constructor

bool RenderTechniqueFactory::isType String  type  )  [inline]
 

Returns if this factory can create a RenderTechnique of the given type.

Parameters:
type RenderTechnique type


The documentation for this class was generated from the following files:
Generated on Thu Apr 27 17:29:43 2006 for GameTools Illumination Module by  doxygen 1.4.6-NO