| 14 | using reshade::d3d12::to_handle; |
| 15 | |
| 16 | D3D12GraphicsCommandList::D3D12GraphicsCommandList(D3D12Device *device, ID3D12GraphicsCommandList *original) : |
| 17 | command_list_impl(device, original), |
| 18 | _device(device) |
| 19 | { |
| 20 | assert(_orig != nullptr && _device != nullptr); |
| 21 | |
| 22 | #if RESHADE_ADDON |
| 23 | reshade::invoke_addon_event<reshade::addon_event::init_command_list>(this); |
| 24 | #endif |
| 25 | } |
| 26 | D3D12GraphicsCommandList::~D3D12GraphicsCommandList() |
| 27 | { |
| 28 | #if RESHADE_ADDON |
nothing calls this directly
no outgoing calls
no test coverage detected