Direct-X in C ++ programming

I am reletively new to C ++ programming, can someone tell me how useful the Direct-X SDK is and how it works, and how we can use it in game programming. I downloaded it, and I found a lot of header files and documentation also talks about game programming.

+3
source share
5 answers

DirectX is a library (actually a large collection of classes) that allows you to "talk" with a video adapter, sound card, keyboard, mouse, joystick, etc. This allows you to do this much more efficiently than other "standard" Windows features. This is important because games need all the performance you can get, and DirectX has a lot to offer in this regard. Especially when it comes to graphical programming, because it has functions that allow you to use the 3D acceleration functions of your video card. Windows does not have such features by default.

The DirectX SDK contains:

  • Documentation of all DirectX features;
  • C ++ tutorials to get you started if you don't know anything;
  • Sample applications;
  • .h .lib DirectX ;
  • DirectX ( , )
  • DirectX, .

++, DirectX , .

Btw - - Microsoft, 5- - -, ?

+10

- . DirectX -, (, ) .

( ), ( , /), ( ), , , 3D-, . .

- , DirectX. - - . , . ( DirectX.)

World of Warcraft 2, DirectX ( ), Ogre, Irrlicht HGE (, 2D-).

, .:)

+3

, " " . DirectX, OpenGL, ; , , .

, DirectX ++. , . ; - , , .

. ++ . .

, Angel. , , .

, , !

!

+1

, , DirectX - .

++, DirectX , . , , ? , , , , DirectX, OpenGL. Ogre 3D. , .

0

Source: https://habr.com/ru/post/1723113/


All Articles