Category : directx

I have a graphics engine using ID2D1Device1, but I cant seem to alter it to use ID2D1Device3. Does anyone know of an example anywhere? Here is my core code: Microsoft::WRL::ComPtr<ID2D1Device1> dev2d; Microsoft::WRL::ComPtr<ID2D1DeviceContext3> devCon3; Microsoft::WRL::ComPtr<ID3D11Device> dev; // the actual Direct3D device Microsoft::WRL::ComPtr<ID3D11DeviceContext> devCon; // device context Microsoft::WRL::ComPtr<IDXGIDevice> dxgiDevice;// to get the DXGI factory Microsoft::WRL::ComPtr<IDXGIAdapter> dxgiAdapter;// to ..

Read more