What is DirectX ?

1:01:00 AM
What is DirectX ?.- DirectX (or can be called Direct3D) is a set of APIs to handle multiple tasks in multimedia programming, especially computer games on the Microsoft Windows operating system. DirectX itself is a combination of Direct3D, DirectDraw, DirectMusic, DirectPlay, and DirectSound. DirectX SDK can be obtained free of charge from Microsoft. The latest version for Windows 10, which was launched around the moon July 29, 2015 is DirectX 12.
What is DirectX ?


History of DirectX

Every game needs to perform certain tasks repeatedly. He needs to look at the input of a mouse, joystick, or keyboard, and he needs to display screen images and play sounds or music. That is what every game at the simplest level. Imagine how complex this was for programmers in the early architecture of the PC before Windows. Every programmer needs to make their own way of reading the keyboard or detect whether a joystick is connected, and only used for gaming. Even needed a special routine to display the simplest of images on the screen or play a sound simple.

Basically, the game programmers talking directly to a PC's hardware at a basic level. At the time Microsoft introduced Windows, it is very important for the stability and success of the PC where things easy for both developers and players. After all, who would want to write games for a machine if they have to reinvent the wheel every time they make a new game? Microsoft's idea is simple: stop programmers talking directly to the hardware, and instead create a common toolkit that they can use. From this was born DirectX.


This technology was first introduced in 1995 and became the standard for multimedia application development on the Windows platform.


DirectX components

DirectX has several components that are complementary to optimize the performance of the hardware, including:

1. DirectX Graphics.
is a component in directx that deal with the graphic, are usually required by games that we play. ranging from the direct draw (graphic 2-D) to Direct3D (3-dimensional graphics.

2. Input DirectX.
directx components on the handle part input hardware peripherals, such as mouse, keyboard, joystick, etc.

3. DirectX Sound
basic components that contain audio configuration on the computer. many media players that require the direct sound is such as VLC player and WinAMP.


How it Works DirectX


DirectX is a link interface between the hardware in our computer and operating system, which is part of the Windows API (Application Programming Interface). In application, when the game developer wants to play a sound file, then they just need to call the appropriate library. When the game is running, it calls the DirectX API, which will play a sound file.

In other words, game developers do not need to know what type of sound card diakan worn by the user, what it can do, or how to talk to him. Microsoft has provided DirectX, and the sound card manufacturer has provided a DirectX-capable driver. so the developer only asks for the sound to be played, and this applies to all types of computers.


if your computer does not have directx, do not worry because the computer's functions will continue as usual, there will be no damage to surrounding booting or other.


How to Check Version of DirectX 

For those of you who are familiar with this way, you can view it directly in dxdiag tool. But for you who do not know anything, please follow the steps below:


  • Click the search icon in the Windows taskbar 10
  • Type "dxdiag" without quotes
  • If the search results already appear, click the icon to open dxdiag
    What is DirectX ?
  • The computer will automatically analyzed to provide information on the hardware you use a computer, including versions of DirectX that are currently being used.
    What is DirectX ?
  • As seen in the image above, it will be written the information there.


Problem Analysis DirectX

Analyzing the DirectX installation issues can be difficult, especially if you do not know which part is causing the game can not be played. Fortunately, Microsoft provides a utility called the DirectX Diagnostic Tool. You will not find this tool in the Start Menu on any version of Windows, and each tends to install in a different place. The easiest way to use it is to open the Run dialog from the Start menu, type dxdiag and then click OK. At the time of the first run, it takes a few seconds to interrogate DirectX installation and check if there is a problem.

DirectX Files tab displays the version of each file is used. Notes on the bottom you need to see, because the file is missing or corrupt to be marked here. Tab Display, Sound, Music, Input and Network all relate to a specific part of DirectX, and all but the Input tab provide tools to test the hardware functionality. Lastly, the More Help tab provides a convenient way to run the DirectX Troubleshooter, Microsoft's way in solving common problems DirectX.

Share this

Related Posts

Previous
Next Post »