In D3D12, for common descriptors (e.g., GPU-visible descriptors such as CBV/UAV),we generally
//often use like this
SetDescriptorHeaps(heap);
GetGPUDescriptorHandleForHeapStart();
But this is not the case for RTV and DSV, we are using OMSetRenderTargets,this method uses D3DX12_CPU_DESCRIPTOR_HANDLE。
It makes me feel very confused.It seems to me that the descriptor is used to interpret a piece of memory in the GPU, so why do you need to pass CPU_DESCRIPTOR to the GPU?Why can’t RTV and DSV be passed around for use like other descriptors?