New answers tagged directx10
The choice of which backbuffer format to use comes down to four considerations: The target feature level for the hardware you are supporting determines what backbuffer formats are available. See the "Display scan-out" options listed in the DXGI documentation for each feature level. For example, to support all feature levels you have to use ...
Direct3D 10.x and Direct3D 11.x do not support the 'legacy fixed-function' pipeline that your Direct3D 9 code is using. Preparing to move to Direct3D 10 or 11 means eliminating all fixed-function usage and moving to programmable shaders. It is also apparent from your code snippet that you are not using the state objects correctly. In Direct3D 9, you set ...
You're right, there is no lighting in D3D10 unless you implement it yourself in shaders.
Top 50 recent answers are included