Catos Engine (Source) 0.0.1
Lightweight Game engine
|
The renderer is the Master class that handles everything getting drawn properly. More...
#include <renderer.h>
Public Member Functions | |
~Renderer () | |
RenderStatus | init (const RendererCreateInfo &createInfo) |
If the renderer isnt already initialized then it initializes. | |
RenderStatus | renderObjects (const RenderPipeline &pipeline, void *data, unsigned int objectAmount) |
Renders all objects via the pipeline given. | |
RenderStatus | renderPassToScreen (RenderPass &pass) |
Renders the given pass to the screen. NOTE: its public for overriding. | |
Static Public Member Functions | |
static Renderer & | getInstance () |
Singleton. | |
The renderer is the Master class that handles everything getting drawn properly.
catos::Renderer::~Renderer | ( | ) |
|
static |
Singleton.
catos::RenderStatus catos::Renderer::init | ( | const RendererCreateInfo & | createInfo | ) |
If the renderer isnt already initialized then it initializes.
catos::RenderStatus catos::Renderer::renderObjects | ( | const RenderPipeline & | pipeline, |
void * | data, | ||
unsigned int | objectAmount ) |
Renders all objects via the pipeline given.
catos::RenderStatus catos::Renderer::renderPassToScreen | ( | catos::RenderPass & | pass | ) |
Renders the given pass to the screen. NOTE: its public for overriding.