| 845 | _orig->ClearDepthStencilView(DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); |
| 846 | } |
| 847 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, const FLOAT ColorRGBA[4], UINT NumRects, const D3D12_RECT *pRects) |
| 848 | { |
| 849 | #if RESHADE_ADDON |
| 850 | if (reshade::invoke_addon_event<reshade::addon_event::clear_render_target_view>(this, to_handle(RenderTargetView), ColorRGBA, NumRects, reinterpret_cast<const reshade::api::rect *>(pRects))) |
| 851 | return; |
| 852 | #endif |
| 853 | _orig->ClearRenderTargetView(RenderTargetView, ColorRGBA, NumRects, pRects); |
| 854 | } |
| 855 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource *pResource, const UINT Values[4], UINT NumRects, const D3D12_RECT *pRects) |
| 856 | { |
| 857 | #if RESHADE_ADDON >= 2 |
no test coverage detected