Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
274
void 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
Resize
Method · 0.45
ReleaseGPU
Method · 0.45
Tested by
no test coverage detected