52 void setupFinalRenderPlane();
54 bool initialized =
false;
56 unsigned int renderVAO;
57 unsigned int renderVBO;
Definition application.h:13
RenderStatus
The statuses of the renderer's operation.
Definition renderer.h:19
@ SUCCESSFUL
Definition renderer.h:20
@ RENDERER_ALREADY_INITIALIZED
Definition renderer.h:22
RenderBackendType
What backend the renderer should use. NOTE: ONLY OPENGL 4.2 SUPPORTED.
Definition renderer.h:13
RenderBackendType backendType
Definition renderer.h:27
The renderer is the Master class that handles everything getting drawn properly.
Definition renderer.h:32
~Renderer()
Definition renderer.cpp:48
RenderStatus init(const RendererCreateInfo &createInfo)
If the renderer isnt already initialized then it initializes.
Definition renderer.cpp:55
static Renderer & getInstance()
Singleton.
Definition renderer.cpp:42
RenderStatus renderPassToScreen(RenderPass &pass)
Renders the given pass to the screen. NOTE: its public for overriding.
Definition renderer.cpp:90
RenderStatus renderObjects(const RenderPipeline &pipeline, void *data, unsigned int objectAmount)
Renders all objects via the pipeline given.
Definition renderer.cpp:82
Definition renderPass.h:45
Definition renderPipeline.h:10