| 124 | } |
| 125 | |
| 126 | Material *MaterialManager::get(const MaterialResource *resource) |
| 127 | { |
| 128 | CE_ASSERT(hash_map::has(_materials, resource), "Material not found"); |
| 129 | return hash_map::get(_materials, resource, (Material *)NULL); |
| 130 | } |
| 131 | |
| 132 | void MaterialManager::reload_textures(const TextureResource *old_resource, const TextureResource *new_resource) |
| 133 | { |
no test coverage detected