TextureFactory Class Reference

#include <SceneBuilderFactories.h>

Inherits SceneBuilderFactory.

Inherited by Texture2DFactory.

Inheritance diagram for TextureFactory:

Inheritance graph
[legend]
Collaboration diagram for TextureFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TextureFactory ()
virtual Texturecreate (const std::string &type, std::stringstream &line)=0

Detailed Description

Base class for texture parsing factories

Author:
Alex Busenius

Definition at line 183 of file SceneBuilderFactories.h.


Constructor & Destructor Documentation

TextureFactory::TextureFactory (  )  [inline]

Constructor

Definition at line 188 of file SceneBuilderFactories.h.


Member Function Documentation

virtual Texture* TextureFactory::create ( const std::string &  type,
std::stringstream &  line 
) [pure virtual]

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

Parameters:
type Statement type
line Line with data
Returns:
New texture

Implemented in Texture2DFactory.


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