Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to know if it is possible to have parallel rendering in DirectX 9.0. I am working on a WPF application which uses DirectX 9.0 for rendering. To make my application more efficient I want to have parallel rendering capability in my application if possible. When I try to render from multiple threads, it gives me an Direct3D exception. Is there any way to do this? Any ideas?

share|improve this question
up vote 3 down vote accepted

Direct3D9 does not support rendering from more than one thread at once. The best you can do is render from a non-GUI thread.

However, there are operations which can be done outside D3D9, for example, computing world matrices, or copying into vertex buffers, which can be parallelised. However, anything that involves calling into a D3D9 API cannot ever be multi-threaded.

share|improve this answer
Bingo. All the massively parrallel you could ever dream of happens on the video card, not in front of it. – Patrick Hughes May 21 '12 at 15:33
DeadMG, Thanks for reply. – Vibhore Tanwer May 22 '12 at 12:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.