MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Clear

Method Clear

Dependencies/assimp/code/Material/MaterialSystem.cpp:502–511  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

500
501// ------------------------------------------------------------------------------------------------
502void 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// ------------------------------------------------------------------------------------------------
514aiReturn aiMaterial::RemoveProperty(const char *pKey, unsigned int type, unsigned int index) {

Callers 5

Deflate_CompressMethod · 0.45
Inflate_ExpandMethod · 0.45
MergeMaterialsMethod · 0.45
CopyMethod · 0.45
ExecuteMethod · 0.45

Calls

no outgoing calls

Tested by 2

Deflate_CompressMethod · 0.36
Inflate_ExpandMethod · 0.36