문제

In Direct3D 11, I can enable "live object warnings" like

D3D11: WARNING: Live Texture2D: Name="unnamed", Addr=0x02A16AAC, ExtRef=1, IntRef=0 [ STATE_CREATION WARNING #2097235: LIVE_TEXTURE2D ]

in my debug builds to detect objects that have not been released.

Can I do the same for DXGI? If so, how?

도움이 되었습니까?

해결책

You can use IDXGIDebug (http://msdn.microsoft.com/en-us/library/windows/desktop/hh780351(v=vs.85).aspx)

IDXGIDebug offers a method called ReportLiveObjects.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top