I am trying to make a 3D game with C++, SDL, and OpenGL.
I have a question, and I made a picture to explain to you and show myMy program roughly looks like this:
control function has only CPU operations.
draw function has CPU and OpenGL functions operations.
I just randomly pick numbers.
How can I use GPU when program at control function?
Or I need to use? Do game engines use at every time? For example Unity, or Unreal Engine.
