Questions tagged [directx]

DirectX is a set of multimedia APIs from Microsoft aimed primarily at game developers. Popular APIs within the DirectX collection include Direct3D, XInput, and XAudio.

Microsoft DirectX is a collection of APIs for handling tasks related to multimedia, especially 3D graphics and game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. The name DirectX was coined as shorthand term for all of these APIs (the X standing in for the particular API names) and soon became the name of the collection.

More information at Wikipedia article of DirectX

References & Tutorials:

How Do I Get Started with DirectX?

The DirectX SDK can be found at the DirectX Developer Center on MSDN.

Additional Resources

1060 questions
17
votes
2 answers

How to deal with D3DX .dll hell?

There's a large number of versions of the D3DX dll, from each SDK update, each version having a unique name (list of D3DX dll names). All-too-often, people have versions missing. So even though they have a compatible version of DirectX, your…
bluescrn
  • 3,407
  • 25
  • 30
15
votes
5 answers

Should I learn Direct3D 9, 10 or 11?

I'm just starting to get into 3D programming with Direct3D. What version of D3D should I pick up? 11 looks pretty neat, but 9 and 10 still seems to be pretty present. Given the current state of the game development industry, which version does it…
dotminic
  • 1,627
  • 2
  • 17
  • 26
10
votes
3 answers

Moving from DirectX 10 to DirectX 11

I've done a reasonable number of small hobby projects using DirectX 9 but it's time to move to DirectX 11 now. I have Frank Luna'a book on 3D programming using DirectX 10 but nothing on DirectX 11. I believe they are pretty similar, but was…
JohnB
  • 763
  • 11
  • 19
8
votes
3 answers

Tool for editing .X

I am trying to use .X files (whoa.. huh? lol), but I found no good software for importing .X files then editing them then exporting them.. all this with animations, all this in text format (optional, but would be great), all this with having…
Zéiksz
  • 183
  • 1
  • 5
5
votes
3 answers

What sort of things can cause a whole system to appear to hang for 100s-1000s of milliseconds?

I am working on a Windows game and while rendering, some computers will experience intermittent pauses ("hitches" for lack of a better term). When profiled they appear in seemingly random places in the code. Eventually I noticed that it wasn't just…
Ogapo
  • 151
  • 2
5
votes
1 answer

What is the difference between DXGI_SWAP_EFFECT_DISCARD and DXGI_SWAP_EFFECT_SEQUENTIAL?

I have difficulty understanding the difference between those two values of the DXGI_SWAP_EFFECT enumeration. MSDN documentation states: DXGI_SWAP_EFFECT_DISCARD Use this flag to specify the bit-block transfer (bitblt) model and to specify that…
Asik
  • 545
  • 1
  • 7
  • 16
5
votes
1 answer

Is the June 2010 DX SDK really the latest?

I have not been involved in game development, using the DirectX SDK, since around 2008. From the looks of it, the June 2010 release, of the DirectX SDK, is still the latest release. This release is more than two years ago, based on the name. Is this…
Ryan
  • 163
  • 5
5
votes
3 answers

How do I Fallback to Older DirectX Versions?

I had a feeling that it would be easier to tackle this problem before I got too deep into development (unless, of course if that's a bad idea/the hard way, please inform me...). I'm creating my game to be run ideally on DirectX 11, however, I want…
smoth190
  • 916
  • 3
  • 13
  • 20
4
votes
4 answers

Microsoft and media - using the new stuff

Over the past 5 or so years, Microsoft has released APIs / that is intended to replace older APIs: (2006) Direct3D10 (2009) Direct3D11 (2008) XAudio2 / deprecates DirectSound (2006) Windows Media Foundation / replaces DirectShow But 66% of Windows…
bobobobo
  • 17,074
  • 10
  • 63
  • 96
3
votes
2 answers

Could I use Direct3D to make 2D games?

My goal is to make a completely 2D game using DirectX, but I'm new to it and I'm confused about all of the different APIs that are available. From Wikipedia: Direct3D is used to render three-dimensional graphics, ... Integration with other…
user3187144
  • 33
  • 1
  • 5
3
votes
2 answers

How is a DirectX Adapter Different from a Device?

I'm relatively new to DirectX programming, and this is one of the more confusing issues I've encountered to date. According to the MSDN Documentation for DirectX 11: "A device is used to create resources and to enumerate the capabilities of a…
BitsOfBytes
  • 105
  • 7
2
votes
1 answer

How should I interpret these DirectX Caps Viewer values?

Briefly asking - what do the nodes mean and what the difference is between them in DirectX Caps Viewer? DXGI Devices Direct3D9 Devices DirectDraw Devices The most interesting for me is 1 vs 2. In the Direct3D9 Devices under HAL node I can see that…
tobi
  • 719
  • 8
  • 14
2
votes
1 answer

Basic DirectX app creates whistle noise

I'm in the process of learning DirectX and in the book examples they have a very basic application which sets up DirectX and displays a blank screen. When I run this app however my computer starts making a whistling noise and I'm really curious as…
user1157885
  • 447
  • 3
  • 15
2
votes
1 answer

Do I need to update my DirectX SDK in order to fix a crash with D3D10_CREATE_DEVICE_DEBUG?

I am currently using the DirectX June 2010 SDK. Everything was working fine with my installation until recently. Unfortunately I'm not sure what changed or when, but now when I create a device with D3D10CreateDevice1(), it always crashes with a…
Raptormeat
  • 776
  • 2
  • 6
  • 15
2
votes
1 answer

Why DirectInput is not recommended?

I have read that the Windows messages are recommended way over DirectInput to control mouse and keyboard. From http://msdn.microsoft.com/en-us/library/windows/desktop/ee416842(v=vs.85).aspx The use of DirectInput for keyboard and mouse input is…
tobi
  • 719
  • 8
  • 14
1
2 3 4