Jump to content

  • Log In with Google      Sign In   
  • Create Account

Which languages are supported by DirectX?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 lukacho999   Members   -  Reputation: 108

Like
0Likes
Like

Posted 15 May 2012 - 11:14 AM

Which languages are supported by DirectX? Can directX program written in HLA? (high level assembly) or can i use c# with DirectX?

Sponsor:

#2 frob   Moderators   -  Reputation: 22718

Like
0Likes
Like

Posted 15 May 2012 - 12:00 PM

DirectX uses a COM interface. That exposes it to most modern languages. Not just C# and assembly, but also languages like python.


You can access it with HLA if you want. You'll need to manage stuff like vtables but that is part of the nature of assembly.

You can access it with C# through interop, although if that is your preferred language you are probably better with XNA which adds significant functionality.

Edited by frob, 15 May 2012 - 12:03 PM.

Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I write about assorted stuff.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS