| 58 | } |
| 59 | |
| 60 | void D3D12DescriptorSet::setCpuHandle(uint32_t rangeIndex, uint32_t descIndex, const CpuHandle& handle) |
| 61 | { |
| 62 | auto dstHandle = getCpuHandle(rangeIndex, descIndex); |
| 63 | ID3D12Device* pD3D12Device = mpDevice->getNativeHandle().as<ID3D12Device*>(); |
| 64 | pD3D12Device->CopyDescriptorsSimple(1, dstHandle, handle, falcorToDxDescType(getRange(rangeIndex).type)); |
| 65 | } |
| 66 | |
| 67 | void D3D12DescriptorSet::setSrv(uint32_t rangeIndex, uint32_t descIndex, const ShaderResourceView* pSrv) |
| 68 | { |
nothing calls this directly
no test coverage detected