Archived

This topic is now archived and is closed to further replies.

Direct X?

This topic is 5313 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

NO! DirectX is a Graphics source, which is needed to run graphics. But in Game-dev language, DirectX is actually DirectX SDK, which is the software that you use to make graphics for games...

Bottom Line : No DX is not a Programming Language!

BattleGuard

Whenever I try to find a better signature than this... Well, I can''t... This is it, Sorry...

Share this post


Link to post
Share on other sites
DirectX is an API. API stands for Application Programming Interface.

In very basic terms, DirectX is something that your programming language can use to display pictures, play sounds, get input from the keyboard/mouse/joystick/etc., work with network communication, etc.

You don''t have to use DirectX to make a game, but it helps a lot.

There are a lot more details obviously, but this is the basic picture.

Share this post


Link to post
Share on other sites
Actually Battleguard, DirectX is a collection of interfaces... and they do a lot more than graphics.

DirectX is divided into several parts:

- Direct3D: This handles graphics
- DirectInput: This handles input from input devices
- DirectPlay: This handles network communication
- DirectShow: This handles movies. I don''t know much about it.
- DirectSound: This handles sound

DirectX is more than just graphics

Share this post


Link to post
Share on other sites
Its not a graphics source or a language.

DirectX is whats called an API or Application Programming Interface. DirectX provides a broad range of libraries that are written to interact with the various sorts of graphics cards, sound cards, modems, and just about everything else you can thing of that has anything to do with a game.

DirectX is a standard that the makers of hardware write their drivers to work with. This is good for you because it provides you with a common programming platform to work with.

The DirectX API is composed of lots and lots functions thaat allow you to deal directly with hardware without having to write a humongous case statement for every driver out there. If you call the Direct3D function to clear the video RAM, DirectX uses the appropriate driver and does it for you.

---------------------------------------------------
laziness is the foundation of efficiency
retrospiral.net | llamas! | megatokyo | FreeBSD | gamedev.net | google

Share this post


Link to post
Share on other sites