MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / DestroyResourceSystem

Function DestroyResourceSystem

modules/tools/resource_compiler/main.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void DestroyResourceSystem(skd::SProject& proj)
76{
77 skr::renderer::SMaterialTypeFactory::Destroy(matTypeFactory);
78 skr::renderer::SShaderOptionsFactory::Destroy(shaderOptionsFactory);
79 skr::renderer::SShaderResourceFactory::Destroy(shaderResourceFactory);
80
81 skr::resource::GetResourceSystem()->Shutdown();
82 SkrDelete(registry);
83}
84
85skr::Vector<skd::SProject*> open_projects(int argc, char** argv)
86{

Callers 1

compile_projectFunction · 0.85

Calls 4

DestroyFunction · 0.85
GetResourceSystemFunction · 0.85
SkrDeleteFunction · 0.85
ShutdownMethod · 0.45

Tested by

no test coverage detected