Questions tagged [directx]

DirectX is a collection of APIs for handling tasks related to multimedia, especially 3D graphics and game programming and video, on Microsoft platforms.

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:

5860 questions
13
votes
6 answers

How to do exactly one render per vertical sync (no repeating, no skipping)?

I'm trying to do vertical synced renders so that exactly one render is done per vertical sync, without skipping or repeating any frames. I would need this to work under Windows 7 and (in the future) Windows 8. It would basically consist of drawing a…
slazaro
  • 254
  • 4
  • 8
12
votes
4 answers

D3D Device Failure During Screen Locked

I have a problem caused by a failure in Direct3D9::CreateDevice(). It fails when the following code is executed with a locked screen under Windows 7. Due to requirements, I need to be able to create a device while the screen is locked. I get a…
Kent Gell
  • 121
  • 3
12
votes
6 answers

XNA, direct X , OpenGL

I have been wanting to give game programming ago for a long while and never got round to it, and i have finally decided to give it ago. I have decided to try and create a simple to 2D platform game. I have had a quick play with XNA and I do like it.…
Antony Delaney
  • 1,158
  • 4
  • 15
  • 39
12
votes
1 answer

Prevent desktop sharing of a particular c# winforms or detect desktop sharing

While developing an examination software I have a requirement to prevent desktop sharing through applications like TeamViewer, AnyDesk, Ammyy Admin etc or at least detection of it. Our examination software is developed in C#, it's a winform renders…
Amogh
  • 4,453
  • 11
  • 45
  • 106
12
votes
9 answers

Is it possible to develop DirectX apps in Linux?

More out of interest than anything else, but can you compile a DirectX app under linux? Obviously there's no official SDK, but I was thinking it might be possible with wine. Presumably wine has an implementation of the DirectX interface in order to…
Nick
  • 7,700
  • 2
  • 29
  • 37
12
votes
2 answers

anyone can explain the "field of view"

In graphics software, sometimes we saw "field of view" for camera. Can someone explain what does it mean?
user496949
  • 83,087
  • 147
  • 309
  • 426
12
votes
1 answer

How to overlay graphics on Windows games?

I want my program to be able to launch any Windows game, and while the user is playing it, intermittently display some text or pictures in some part of the game window. The game may be in windowed or full-screen mode. From what I have been able to…
rup
  • 961
  • 3
  • 12
  • 25
12
votes
3 answers

Record live audio from mic input and save simultanously

I was trying to develop a Voice recorder in C#. I have tried many ways, like NAudio, DirectX, Microsoft.Xna.Framework.Audio, etc. Everything gives the same result. After we stop the recording, the output file mp3/wav get saved. The mp3/wav file get…
12
votes
4 answers

Redirect Direct2D rendering to a WPF Control

I'm developing a drawing application in Visual C++ by means of Direct2D. I have a demo application where: // create the ID2D1Factory D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &m_pDirect2dFactory); // create the main window HWND m_hwnd =…
Nick
  • 10,309
  • 21
  • 97
  • 201
12
votes
1 answer

Can DirectDraw game access a backbuffer without locking it?

I'm modding an old Windows DirectDraw game. I've created a DirectDraw proxy. It logs every IDirectDraw and IDirectDrawSurface call. The backbuffer looks like this after one BltFast call: And like this before the next BltFast call: These pictures…
cubuspl42
  • 7,833
  • 4
  • 41
  • 65
12
votes
1 answer

Interpreting GPU information from Process Explorer

I am trying to hunt down a possible memory leak in my Sharpdx / DirectX application. I am getting the following information from process explorer which I do not know how to interpret. What is Dedicated GPU Memory? What is System GPU Memory? What…
clamp
  • 33,000
  • 75
  • 203
  • 299
12
votes
3 answers

How to programmatically disable the auto-focus of a webcam?

I am trying to do computer vision using a webcam (the model is Hercules Dualpix). I know it is not the ideal camera to use, but I have no choice here. The problem is the auto-focus makes it hard/impossible to calibrate the camera. Anyone knows a…
jslap
  • 711
  • 1
  • 6
  • 21
12
votes
4 answers

Is it possible to take over just one screen of multiple screens completely with .NET on Windows?

With .NET (any version) running on Windows XP/Vista/7/8 - is it possible to reserve one screen for a full-screen application and display data/graphics/whatever on it whilst keeping any other screens available for Windows UI user interaction such as…
allu
  • 642
  • 5
  • 25
12
votes
2 answers

DirectX 11 SDK - where can I download it?

I'm trying to setup DirectX on Visual C++ 2010 express. I do not have the SDK installed and could not figure out where to download it. I'm running Windows 7
davigbr
  • 141
  • 1
  • 1
  • 6
12
votes
5 answers

Get the graphics card model?

I was wondering how I can get the graphics card model/brand from code particularly from DirectX 9.0c (from within C++ code).
meds
  • 21,699
  • 37
  • 163
  • 314