Skip to main content
edited tags
Source Link
Kromster
  • 10.7k
  • 4
  • 55
  • 67

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:

enter image description here

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.

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 my program roughly looks like this:

enter image description here

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.

I am trying to make a 3D game with C++, SDL, and OpenGL.

My program roughly looks like this:

enter image description here

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.

Improved grammar and spelling
Source Link

Hi iI am trying to make a 3d3D game with c++ C++, sdlSDL, and openglOpenGL.

But I have a question, i alsoand I made a picture to explain to you and show my program roughly looks like this.:

enter image description here

control function has only cpuCPU operations.

draw fucntionfunction has cpuCPU and openglOpenGL functions operations.

I just randomly pick numbers.

How can I use gpuGPU when program at control function  ?

Or I need to use  ? Do game engines use at every time  ? For example Unity,Unreal or Unreal Engine.

Hi i am trying to make a 3d game with c++ , sdl and opengl.

But I have a question, i also made a picture to explain to you and show my program roughly looks like this.

enter image description here

control function has only cpu operations.

draw fucntion 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,Unreal Engine.

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 my program roughly looks like this:

enter image description here

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.

Source Link
Emre Kaya
  • 555
  • 1
  • 5
  • 13

How can I benefit when I don't use gpu?

Hi i am trying to make a 3d game with c++ , sdl and opengl.

But I have a question, i also made a picture to explain to you and show my program roughly looks like this.

enter image description here

control function has only cpu operations.

draw fucntion 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,Unreal Engine.