Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ DuplicateObjectName
Function
DuplicateObjectName
engine/modelc/src/modelimporter_gltf.cpp:510–514 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
508
509
template <typename T>
510
static char* DuplicateObjectName(T* object)
511
{
512
assert(object->name);
513
return strdup(object->name);
514
}
515
516
template <>
517
char* DuplicateObjectName<>(cgltf_buffer* object)
Callers
9
LoadNodes
Function · 0.85
LoadSamplers
Function · 0.85
LoadImages
Function · 0.85
LoadTextures
Function · 0.85
LoadMaterials
Function · 0.85
LoadMeshes
Function · 0.85
LoadSkins
Function · 0.85
LoadAnimations
Function · 0.85
LoadGltfFromBuffer
Function · 0.85
Calls
1
assert
Function · 0.50
Tested by
no test coverage detected