So I have started learning directx11 using a book by Frank D.Luna. His examples are in directx11 and unfortunately on my macbook i have a directx10 gpu. Although I have modified a part of my code to include DirectX10 compatibility, I am using DirectX11 structs like ID3D11Device, instead of ID3D10. Is this going to cause issues?
Edit:
I would like to point out that I am using Windows on bootcamp.
This won’t cause any issues. You can use the directx11 api and target the feature level you want when you create a device. When you create a device using D3D11CreateDevice or D3D11CreateDeviceAndSwapChain, you specify a pointer to an array of
D3D_FEATURE_LEVELto set the feature level (it attempts to create the feature levels in the order of the array). You can also get the feature level programatically if you don’t know it.I would recommend reading MSDN documentation as it explains all this stuff.