];  D0D00_MAPPED_SUBRESOURCE mappedResource;  pd0dImmediateContext->Map(debugtex, D0D00CalcSubresource(0,0,0), D0D00_MAP_READ, 0, &mappedResource);   memcpy((void*)cpuMemory, (void*)mappedResource.pData, desc.