* Unload material from memory. */
| 48 | * Unload material from memory. |
| 49 | */ |
| 50 | void Unload() { |
| 51 | if (maps != nullptr) { |
| 52 | ::UnloadMaterial(*this); |
| 53 | maps = nullptr; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...). |
nothing calls this directly
no outgoing calls
no test coverage detected