• Advertisement

Archived

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

How do you code for both DX and opengl ?

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