Invalidates the CPU pointer to the specified subresource in the resource. Unmap also flushes the CPU cache, when necessary, so that GPU reads to this address reflect any modifications made by the CPU.
void Unmap( UINT Subresource, const D3D12_RANGE *pWrittenRange );
Specifies the index of the subresource.
Type: const D3D12_RANGE*
A pointer to a D3D12_RANGE structure that describes the range of memory to unmap.
This indicates the region the CPU might have modified, and the coordinates are subresource-relative. A null pointer indicates the entire subresource might have been modified by the CPU. It is valid to specify the CPU didn't write any data by passing a range where End is less than or equal to Begin.
This method does not return a value.
Refer to the extensive Remarks and Examples for the Map method.