public D3D11Texture(Texture2D existingTexture) { DeviceTexture = existingTexture; Width = (uint)existingTexture.Description.Width; Height = (uint)existingTexture.Description.Height; Depth = 1; MipLevels = (uint)existingTexture.Description.MipLevels; ArrayLayers = (uint)existingTexture.Description.ArraySize; Format = D3D11Formats.ToVdFormat(existingTexture.Description.Format); SampleCount = D3D11Formats.ToVdSampleCount(existingTexture.Description.SampleDescription); }