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

Method unload

modules/engine/runtime/src/resource/resource_handle.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void skr_resource_handle_t::unload()
149{
150 SKR_ASSERT(!is_null());
151 if (padding != 0)
152 return;
153 auto system = skr::resource::GetResourceSystem();
154 system->UnloadResource(*this);
155}
156
157bool skr_resource_handle_t::is_null() const
158{

Callers 8

~CGPUAMDAGSSingletonMethod · 0.45
cgpu_nsight.cppFile · 0.45
_UnloadDependenciesMethod · 0.45
on_unloadMethod · 0.45
~Input_GameInputMethod · 0.45
dtor_resource_handleFunction · 0.45
switchnameFunction · 0.45

Calls 3

GetResourceSystemFunction · 0.85
UnloadResourceMethod · 0.80
is_nullFunction · 0.50

Tested by

no test coverage detected