Archived

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

Design of a directx Wrapper

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