MirrorShaderFactory Class Reference

#include <SceneBuilderFactories.h>

Inherits TexturedShaderFactory.

Inheritance diagram for MirrorShaderFactory:

Inheritance graph
[legend]
Collaboration diagram for MirrorShaderFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MirrorShaderFactory (std::map< std::string, Texture * > &textures)
virtual Shadercreate (const std::string &type, std::stringstream &line, Scene *scene)

Detailed Description

Mirror shader parser

Author:
Alex Busenius

Definition at line 344 of file SceneBuilderFactories.h.


Constructor & Destructor Documentation

MirrorShaderFactory::MirrorShaderFactory ( std::map< std::string, Texture * > &  textures  )  [inline]

Constructor

Definition at line 349 of file SceneBuilderFactories.h.


Member Function Documentation

Shader * MirrorShaderFactory::create ( const std::string &  type,
std::stringstream &  line,
Scene scene 
) [virtual]

Create a new shader based on type and data in the stream

Parameters:
type Statement type
line Line with data
scene Scene to initialize shader
Returns:
New shader

Implements ShaderFactory.

Definition at line 324 of file SceneBuilderFactories.cpp.

References TexturedShaderFactory::readBump(), Shader::setBumpCoefficient(), and Shader::setBumpTexture().


The documentation for this class was generated from the following files:
Generated on Fri Feb 1 00:02:20 2008 for Grayfall by  doxygen 1.5.1