| 183 | } |
| 184 | |
| 185 | BaseMatInstance* MaterialManager::createMatInstance(const String &matName) |
| 186 | { |
| 187 | BaseMaterialDefinition* mat = NULL; |
| 188 | if (Sim::findObject(matName, mat)) |
| 189 | return mat->createMatInstance(); |
| 190 | |
| 191 | return NULL; |
| 192 | } |
| 193 | |
| 194 | BaseMatInstance* MaterialManager::createMatInstance( const String &matName, |
| 195 | const GFXVertexFormat *vertexFormat ) |
no test coverage detected