Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

joeyzt

How do you code for both DX and opengl ?

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

Is there a way of porting your code written uinsg one API to the other API ? ''A library consists of the actual binary code behind the API. You link your game code to the library to make everything work.''

Share this post


Link to post
Share on other sites
Advertisement
yes.

but, depending on how it was programmed, it may or may not be easy

there is a series of articles in the "articles and resources" section called "striving for graphics API independence" (or something close to that at least) which may help you out.

Share this post


Link to post
Share on other sites

  • 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!