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

Method Unload

Source/Engine/Graphics/Materials/MaterialShader.cpp:274–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void MaterialShader::Unload()
275{
276 _isLoaded = false;
277 _cb = nullptr;
278 _cbData.Resize(0, false);
279 _shader->ReleaseGPU();
280}

Callers

nothing calls this directly

Calls 2

ResizeMethod · 0.45
ReleaseGPUMethod · 0.45

Tested by

no test coverage detected