MCPcopy Create free account
hub / github.com/defold/defold / LoadFinalizeGltf

Function LoadFinalizeGltf

engine/modelc/src/modelimporter_gltf.cpp:2046–2053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2044}
2045
2046static bool LoadFinalizeGltf(Scene* scene)
2047{
2048 GltfData* data = (GltfData*)scene->m_OpaqueSceneData;
2049 if (!ValidateSparseAccessorsForUnpack(scene, data->m_Data))
2050 return false;
2051 LoadScene(scene, data->m_Data);
2052 return scene->m_LoadError == 0;
2053}
2054
2055static bool ValidateGltf(Scene* scene)
2056{

Callers 1

LoadGltfFromBufferFunction · 0.85

Calls 2

LoadSceneFunction · 0.70

Tested by

no test coverage detected