Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I wonder what would be most efficient way to render the GUI elements.

When we're talking about constant-size elements (that can still be moving), the textures' atlas seems to be good.

But what with the resizeable elements?

Let's say the panel (with textured borders)?

Is there any better way than just render 9 rectangles with textures on them (I guess one texture and different textures coordinates for left-top corner, border, middle etc. used in shader)?

share|improve this question
1  
Atlases have nothing to do with it, they are just a way of optimally storing the textures in a bundle. – Krom Stern Dec 13 '12 at 5:24

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.