MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / ~AppGraphCtx

Method ~AppGraphCtx

demo/d3d11/appD3D11Ctx.cpp:43–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43AppGraphCtx::~AppGraphCtx()
44{
45 AppGraphCtxReleaseRenderTarget(this);
46
47 COMRelease(m_swapChain);
48 COMRelease(m_backBuffer);
49 COMRelease(m_rtv);
50 COMRelease(m_depthStencil);
51 COMRelease(m_dsv);
52 COMRelease(m_depthSRV);
53 COMRelease(m_depthState);
54 COMRelease(m_blendState);
55 COMRelease(m_resolvedTarget);
56 COMRelease(m_resolvedTargetSRV);
57 COMRelease(m_deviceContext);
58 COMRelease(m_device);
59
60 appGraphReleaseProfiler(m_profiler);
61 m_profiler = nullptr;
62}
63
64AppGraphCtx* AppGraphCtxCreate(int deviceID)
65{

Callers

nothing calls this directly

Calls 3

appGraphReleaseProfilerFunction · 0.85
COMReleaseFunction · 0.70

Tested by

no test coverage detected