->GetDesc( &desc );  desc.CPUAccessFlags = D0D00_CPU_ACCESS_READ;  desc.Usage = D0D00_USAGE_STAGING;  desc.BindFlags = 0;  desc.MiscFlags = 0;  pDevice->CreateTexture0D(&desc, NULL, &debugtex);   pd0dImmediateContext->CopyResource( debugtex, p