Closed tom-huntington closed 5 months ago
Woops I was using MipLevels 0. It will work with 1.
MipLevels may be 0, or 1 to the maximum mip levels supported by the Width, Height , and DepthOrArraySize dimensions. When 0 is used, the API will automatically calculate the maximum mip levels supported and use that. But, some resource and heap properties preclude mip levels, so the app must specify the value as 1.
I'd like to render to a D3D12 resource from D2D.
However, when I am wrapping a resource created with
ID3D12Device::CreateCommittedResource
(rather than a swapchain buffer) I cant obtain aIDXGISurface
needed for D2D interop.Could I get some guidance?