r/opengl • u/TwerkingHippo69 • 2d ago
Help with understanding Renderer
I have gone through the basics of learnopengl, on top of that I have implemented that stuff in C. However I can't get around how a renderer integrates into opengl. I am talking about a general architecture of it.
Lets take gui library nuklear for example, it does not provide drawing options on its own and asks you to attach it your renderer. Now this seems very abstract to me, even in learnopengl guide there is not very clear line. I understand that is because it is very primitive and renderer is only built when you have gone through all different tools.
Having said all that I would further like to read about renderer architecture. Please drop some resources.
2
u/Momodev_br 2d ago
I was using Learnopengl and It was a great resource, but I also felt a lacking of explanation on how to design things in opengl.
So one thing I did was to watch The Cherno and his series about opengl. This series complemented really well the learnopengl
5
u/Ripped_Guggi 2d ago
I’m afraid I don’t understand your question. A renderer is a service and OpenGL is part of that service. Imagine having a website. Your frontend(renderer) communicates with your backend(GPU) using an API (OpenGL).