Wednesday, June 9, 2010

How VGA's DirectX works ?

Fundamentally, DirectX is an interface between the hardware in your PC and Windows itself, which is part of the Windows API (Application Programming Interface). Let's have a look at a practical example : When a game desires to play a sound file, it is only a matter of using the correct library function. When the game runs, this calls the DirectX API, which will play a sound file.

The developer does not need to know what type of sound card are facing, what they can do, or how to speak to him. Microsoft has provided DirectX, and the sound card manufacturer has provided a DirectX-capable driver. They asks for the sound to be played, on any machine it runs on. From our side as game enthusiasts, DirectX also provides great convenience at least in theory. You install a brand spanking new sound card than the old, which come with DirectX drivers. Next time you play the game you can still listen to the sound and music, and you do not need to perform complex configuration changes. At first, DirectX simple toolkit: early hardware was limited and sometimes it takes a simple graphics functions. Along with the development of hardware and application are increasingly complex, so has DirectX. They is now over a graphical toolkit, and they has been covering plenty of routines that handle all types of communications hardware. For example, the DirectInput routines can deal with all types of input devices, from simple mouse with a two-button until the complex flight joysticks. Another part is the Direct-Sound for audio devices and DirectPlay provides a toolkit for online gambling or multiplayer.

No comments:

Post a Comment