• Advertisement
Sign in to follow this  

DirectX or OpenGL - 2D

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

Okay so I would like to create a 2D game but I don't know if DirectX or OpenGL is better for 2D.

Does anyone have any experience they could share?

Share this post


Link to post
Share on other sites
Advertisement

In one sense it doesn't really matter because 2D is just a special-case of 3D.

In the old days both APIs had specific 2D pipelines but they're all deprecated (or just outright removed) in the modern versions of the APIs so you'll be using the same kind of setup and draw calls for 2D as you would use for 3D.

 

The exception to this is if you use a wrapper library explicitly designed around 2D drawing, but then you're not really using either API at all and your question is more one of which wrapper library is best.

Share this post


Link to post
Share on other sites

Please use the search button. There are thousands of this topic already, we don't need another.

Share this post


Link to post
Share on other sites

This topic is 976 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.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement