Tagged Questions
2
votes
2answers
336 views
Is using a dedicated thread just for sending gpu commands a good idea?
The most basic game loop is like this :
while(1)
{
update();
draw();
swapbuffers();
}
This is very simple but have a problem : some drawing commands can be blocking and cpu will wait ...
-3
votes
1answer
361 views
Options available to a programmer on the Main Game Loop [closed]
Could someone please give me some insight into each one of the four topics listed below.
I have a good idea about what passive and active rendering are, and that the use of active rendering is more ...
5
votes
2answers
309 views
Draw and update order in 3d graphics
In all of the code samples that I have looked at, the game loop looks something like this:
while(true)
{
InputAndUpdate();
Draw();
SwapBuffers();
}
However doesn't this destroy ...
