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.

When updating a mesh does glBufferSubdata belong in the update function or render function? I'm trying to organize my game appropriately and knowing this would help me. This is my first game and I want to structure it properly.

share|improve this question
2  
That depends entirely on what, in general, your "update" function does and what your "render" function does. – Josh Petrie Apr 4 '12 at 1:32
Yes, this is just a cosmetic decision. – stephelton Apr 4 '12 at 5:08

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.