Tuesday, August 2, 2016

Direct3D 11.0, 11.1, 11.2 Variants

Looking on the D3D11 DLLs, I see that internally all the variants implemented by the same objects.

But if you create DXGIFactory using CreateDXGIFactory (11.0 variant) the object keeps a flag telling it that it indeed 11.0 variant. I'm not clear what this flag does.
Also, in this case, the object prevent you from doing QueryInterface and upgrading to the 11.1 variant.