-------------------------------------------------------------------------- Map materials - map materials to the textures in the list --------------------------------------------------------------------------
| 291 | // Map materials - map materials to the textures in the list |
| 292 | //-------------------------------------------------------------------------- |
| 293 | void MaterialList::mapMaterials() |
| 294 | { |
| 295 | mMatInstList.setSize( mMaterialNames.size() ); |
| 296 | |
| 297 | for( U32 i=0; i<mMaterialNames.size(); i++ ) |
| 298 | mapMaterial( i ); |
| 299 | } |
| 300 | |
| 301 | /// Map the material name at the given index to a material instance. |
| 302 | /// |
no test coverage detected