------------------------------------------------------------------------------------------------
| 546 | |
| 547 | // ------------------------------------------------------------------------------------------------ |
| 548 | aiReturn aiMaterial::AddProperty(const aiString *pInput, |
| 549 | const char *pKey, |
| 550 | unsigned int type, |
| 551 | unsigned int index) { |
| 552 | ai_assert(sizeof(ai_uint32) == 4); |
| 553 | return AddBinaryProperty(pInput, |
| 554 | static_cast<unsigned int>(pInput->length + 1 + 4), |
| 555 | pKey, |
| 556 | type, |
| 557 | index, |
| 558 | aiPTI_String); |
| 559 | } |
| 560 | |
| 561 | // ------------------------------------------------------------------------------------------------ |
| 562 | uint32_t Assimp::ComputeMaterialHash(const aiMaterial *mat, bool includeMatName /*= false*/) { |
no outgoing calls