MaterialSystem Class Reference
#include <imaterial.h>
Detailed Description
Definition at line 100 of file imaterial.h.
Member Typedef Documentation
Constructor & Destructor Documentation
virtual MaterialSystem::~MaterialSystem |
( |
|
) |
[inline, virtual] |
MaterialSystem::MaterialSystem |
( |
|
) |
|
Member Function Documentation
void MaterialSystem::generateMaterialForFace |
( |
int |
contentFlags, |
|
|
int |
surfaceFlags, |
|
|
std::string & |
textureName, |
|
|
std::stringstream & |
stream | |
|
) |
| | [private] |
void MaterialSystem::generateMaterialFromTexture |
( |
|
) |
|
Generates material for the current selected textures
const std::string MaterialSystem::getMaterialFilename |
( |
|
) |
const |
- Returns:
- The current material filename for the current loaded map
activate the material for a given name and return it will return the default shader if name is not found
void MaterialSystem::importMaterialFile |
( |
const std::string & |
name |
) |
|
Import a material file to the already existing material definition
- Parameters:
-
| name | The material file to import |
MaterialSystem::INTEGER_CONSTANT |
( |
Version |
, |
|
|
1 |
| |
|
) |
| | |
void MaterialSystem::showMaterialDefinition |
( |
const std::string & |
append = "" |
) |
|
Shows the existing material definition and append new content to it.
- Parameters:
-
| append | The material definition string to append to the existing one |
MaterialSystem::STRING_CONSTANT |
( |
Name |
, |
|
|
"material" |
| |
|
) |
| | |
Field Documentation
The documentation for this class was generated from the following file: