To create a DXGIFactory5 object you have to be using DXGI 1.5 (Windows 10 Direct3D 12). The CreateDXGIFactory1 and CreateDXGIFactory2 functions are just overloaded versions of CreateDXGIFactory for DXGI 1.1 - 1.5, however CreateDXGIFactory is for creating IDXGIFactory DXGI 1.0 objects. If it succeeds you've got an IDXGIFactory5 that has all the methods that an IDXGIFactory4, IDXGIFactor圓, IDXGIFactory2, and IDXGIFactory1 has, plus it's own method of CheckFeatureSupport. IDXGIFactory5* outPtr = nullptr \\this really should be a CComPtrĪnd call CreateDXGIFactory1(_uuidof(IDXGIFactory5),
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |