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

Function DestroyScene

engine/modelc/src/modelimporter.cpp:253–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void DestroyScene(Scene* scene)
254{
255 if (!scene)
256 return;
257
258 free(scene->m_LoadError);
259 scene->m_LoadError = 0;
260
261 ClearScene(scene);
262 delete scene;
263}
264
265Scene* LoadFromBuffer(Options* options, const char* suffix, void* data, uint32_t file_size)
266{

Callers 5

LoadFromBufferInternalFunction · 0.85
LoadFromPathFunction · 0.85
LoadSceneFunction · 0.85
TESTFunction · 0.85
TestStandaloneFunction · 0.85

Calls 2

freeFunction · 0.85
ClearSceneFunction · 0.85

Tested by 3

LoadSceneFunction · 0.68
TESTFunction · 0.68
TestStandaloneFunction · 0.68