MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / _Destroy

Method _Destroy

ogsr_engine/xr_3da/Device_destroy.cpp:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "xr_input.h"
8
9void CRenderDevice::_Destroy(BOOL bKeepTextures)
10{
11 DU->OnDeviceDestroy();
12
13 // before destroy
14 b_is_Ready = FALSE;
15 Statistic->OnDeviceDestroy();
16 ::Render->destroy();
17 m_pRender->OnDeviceDestroy(bKeepTextures);
18
19 Memory.mem_compact();
20}
21
22void CRenderDevice::Destroy(void)
23{

Callers

nothing calls this directly

Calls 3

mem_compactMethod · 0.80
OnDeviceDestroyMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected