12-05-2008, 09:22 PM
No, not is not. Your rendering time is still random in context with the rest of the program. You want to render in order - its not about performance, its not about thread safety, its just about logic. You can mix in updates with rendering at times (although its a bit harder to follow and not very well structured) but you can not throw around your rendering times randomly.
If you are rendering to a separate buffer, put the code where you want it in the call to render to that separate buffer. Keep it linear and simple.
If you are rendering to a separate buffer, put the code where you want it in the call to render to that separate buffer. Keep it linear and simple.