5/16/2023 0 Comments Upgrade directx 11 to 12![]() There is no equivalent to D3D11CreateDeviceAndSwapChain. The WARP device for Direct3D 12 is available only on systems with the Graphics Tools optional feature enabled. ![]() In Direct3D 11, you could chain back to the DXGI device from the Direct3D device, and this is not supported for Direct3D 12.Ĭreating a WARP software device on Direct3D 12 is done by providing an explicit adapter obtained from IDXGIFactory4::EnumWarpAdapter. Existing Direct3D 12 drivers are all D3D_FEATURE_LEVEL_11_0 or better, so you can ignore the older feature levels and associated limitations.Īlso keep in mind that with Direct3D 12, you should explicitly enumerate device information using DXGI interfaces. This section provides some guidance on porting from a custom Direct3D 11 graphics engine to Direct3D 12.īoth Direct3D 11 and Direct3D 12 share a similar device creation pattern.
0 Comments
Leave a Reply. |