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

Method unload

Source/Engine/Content/Assets/MaterialInstance.cpp:251–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void MaterialInstance::unload(bool isReloading)
252{
253 if (_baseMaterial)
254 {
255 OnBaseUnset();
256 _baseMaterial = nullptr;
257 }
258 Params.Dispose();
259}
260
261AssetChunksFlag MaterialInstance::getChunksToPreload() const
262{

Callers

nothing calls this directly

Calls 1

DisposeMethod · 0.45

Tested by

no test coverage detected