#include <SceneBuilderFactories.h>
Inherits TextureFactory.
Inheritance diagram for Texture2DFactory:


Public Member Functions | |
| Texture2DFactory () | |
| virtual Texture * | create (const std::string &type, std::stringstream &line) |
Definition at line 206 of file SceneBuilderFactories.h.
| Texture2DFactory::Texture2DFactory | ( | ) | [inline] |
Constructor
Definition at line 211 of file SceneBuilderFactories.h.
| Texture * Texture2DFactory::create | ( | const std::string & | type, | |
| std::stringstream & | line | |||
| ) | [virtual] |
Create a new texture based on type and data in the stream
| type | Statement type | |
| line | Line with data |
Implements TextureFactory.
Definition at line 142 of file SceneBuilderFactories.cpp.
References LINEAR, NEAREST, REPEAT, Texture::setInterpolationMode(), Texture::setWrapMode(), QuotedString::str(), and WRAP.
Referenced by SceneBuilder::addTexture().
1.5.1