MCPcopy Create free account
hub / github.com/assimp/assimp / AddProperty

Method AddProperty

code/Material/MaterialSystem.cpp:548–559  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

546
547// ------------------------------------------------------------------------------------------------
548aiReturn 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// ------------------------------------------------------------------------------------------------
562uint32_t Assimp::ComputeMaterialHash(const aiMaterial *mat, bool includeMatName /*= false*/) {

Callers 13

getUniqueMaterial1Function · 0.45
getUniqueMaterial2Function · 0.45
getUniqueMaterial3Function · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45

Calls

no outgoing calls

Tested by 1