------------------------------------------------------------------------------------------------
| 500 | |
| 501 | // ------------------------------------------------------------------------------------------------ |
| 502 | void aiMaterial::Clear() { |
| 503 | for (unsigned int i = 0; i < mNumProperties; ++i) { |
| 504 | // delete this entry |
| 505 | delete mProperties[i]; |
| 506 | AI_DEBUG_INVALIDATE_PTR(mProperties[i]); |
| 507 | } |
| 508 | mNumProperties = 0; |
| 509 | |
| 510 | // The array remains allocated, we just invalidated its contents |
| 511 | } |
| 512 | |
| 513 | // ------------------------------------------------------------------------------------------------ |
| 514 | aiReturn aiMaterial::RemoveProperty(const char *pKey, unsigned int type, unsigned int index) { |
no outgoing calls