Jump to content
  • Advertisement


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


Design of a directx Wrapper

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

I keep redesigning the way my wrapper is used, im just wondering if anyone thinks this last idea is any good. ...the first idea was basically all methods, and using arrays for each thing ...the second idea was using all methods, but you named each thing in the array eg "normalFont" or "brick.bmp", its just a take off , off the first. ...the third idea is to make a class object for each thing eg font, texture, vertices etc. so to load a texture it would be : Texture myTexture; myTexture.load("brick.bmp"); and to use it with a surface or something: myTexture.use(); So what do the think of my last idea?

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!