| 163 | } |
| 164 | |
| 165 | BaseMatInstance* MaterialManager::createMatInstance(const String &matName) |
| 166 | { |
| 167 | BaseMaterialDefinition* mat = NULL; |
| 168 | if (Sim::findObject(matName, mat)) |
| 169 | return mat->createMatInstance(); |
| 170 | |
| 171 | return NULL; |
| 172 | } |
| 173 | |
| 174 | BaseMatInstance* MaterialManager::createMatInstance( const String &matName, |
| 175 | const GFXVertexFormat *vertexFormat ) |
no test coverage detected