public static void DXGIReportLiveObjects(Guid apiid, DXGI_DEBUG_RLO_FLAGS flags = DXGI_DEBUG_RLO_FLAGS.DXGI_DEBUG_RLO_ALL) { if (!IsDebugLayerAvailable) { return; } DXGIGetDebugInterface(typeof(IDXGIDebug).GUID, out var debug); if (!(debug is IDXGIDebug dbg)) { return; } dbg.ReportLiveObjects(apiid, flags); Marshal.ReleaseComObject(debug); }
public HRESULT ReportLiveObjects(Guid apiid, DXGI_DEBUG_RLO_FLAGS flags) { return(((delegate * unmanaged <IDXGIDebug *, Guid, DXGI_DEBUG_RLO_FLAGS, int>)(lpVtbl[3]))((IDXGIDebug *)Unsafe.AsPointer(ref this), apiid, flags)); }
public static void DXGIReportLiveObjects(DXGI_DEBUG_RLO_FLAGS flags = DXGI_DEBUG_RLO_FLAGS.DXGI_DEBUG_RLO_ALL) => DXGIReportLiveObjects(DXGIConstants.DXGI_DEBUG_ALL, flags);
public int ReportLiveObjects([NativeTypeName("GUID")] Guid apiid, DXGI_DEBUG_RLO_FLAGS flags) { return(((delegate * unmanaged <IDXGIDebug1 *, Guid, DXGI_DEBUG_RLO_FLAGS, int>)(lpVtbl[3]))((IDXGIDebug1 *)Unsafe.AsPointer(ref this), apiid, flags)); }