Jump to content
  • Advertisement
Sign in to follow this  
AcePilot

C with DirectX 9

This topic is 4886 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

Ive been programming on DirectX 9 for some time now, first i was using the managed version using C# but then my computer kept getting slow frame rates like 0.60 fps so i switched to DX9b using the C language. I understand that C# and C++ can fully take advantage of DX9's features, but i was just wondering if there are some features of DX9 that cannot be used with C? or is C not fully compatible with DX9?

Share this post


Link to post
Share on other sites
Advertisement
Anything goes (I've seen people initialising DX from an assembler-only program). But the way it is meant to be, DX is for C++ (and VB, etc). It uses OOP to some extent, which C does not natively support.

Greetz,

Ill.

Share this post


Link to post
Share on other sites
DirectX is written in C. It does use OO, but uses it in C. I remember mention of a few features that could be taken advantage of using C++, but I believe these were related to making the programming easier, not actual functionality.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!