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

Method ReleaseGPU

Source/Engine/Graphics/GPUDevice.cpp:302–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300#endif
301
302void GPUResource::ReleaseGPU()
303{
304 if (_memoryUsage != 0)
305 {
306 Releasing();
307 OnReleaseGPU();
308 _memoryUsage = 0;
309 }
310}
311
312void GPUResource::OnDeviceDispose()
313{

Callers 15

OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
RenderMotionVectorsMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45
OnShaderReloadingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected