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

Method unload

Source/Engine/Graphics/Textures/TextureBase.cpp:763–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763void TextureBase::unload(bool isReloading)
764{
765 if (!isReloading)
766 {
767 // Release texture
768 _texture.UnloadTexture();
769 SAFE_DELETE(_customData);
770 }
771}
772
773Task* TextureBase::RequestMipDataAsync(int32 mipIndex)
774{

Callers

nothing calls this directly

Calls 1

UnloadTextureMethod · 0.80

Tested by

no test coverage detected