Originally, DirectX began life as a simple toolkit: early hardware was limited, and only the most basic graphical functions were required. He asks for the sound to be played, and it is – whichever machine it runs on. Microsoft has provided DirectX, and the sound card manufacturer has provided a DirectX-capable driver. The developer doesn’t need to know what type of sound card he’s dealing with, what it’s capable of, or how to talk to it. When the game runs, this calls the DirectX API, which in turn plays the sound file. When a game developer wants to play a sound file, it’s simply a case of using the correct library function. How DirectX works? #Īt the most basic level, DirectX is an interface between the hardware in your PC and Windows itself, part of the Windows API or Application Programming Interface. After all, who would bother writing games for a machine when they had to reinvent the wheel every time they began work on a new game? Microsoft’s idea was simple: stop programmers talking directly to the hardware and build a common toolkit which they could use instead. When Microsoft introduced Windows, it was imperative for the PC platform’s stability and success that things were made easier for both the developer and the player. That’s pretty much any game at the most simplistic level.Įssentially, the game programmers were talking directly to your PC’s hardware at a fundamental level. It needs to watch for your input from mouse, joystick, or keyboard, and it needs to be able to display screen images and play sounds or music. DirectX history #Īny game needs to perform certain tasks again and again. What is DirectX 12 #ĭirectX is an interface designed to make certain programming tasks much easier for both the game developer and the rest of us who want to sit down and play the latest blockbuster. This common interface is DirectX, something which can be the source of much confusion. To alleviate as much pain as possible, Microsoft needed to introduce a common standard that all games and multimedia applications could follow – a common interface between the OS and whatever hardware is installed on the PC if you like.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |