Catos Engine (Source) 0.0.1
Lightweight Game engine
Loading...
Searching...
No Matches
catos::Renderer Class Reference

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 RenderergetInstance ()
 Singleton.
 

Detailed Description

The renderer is the Master class that handles everything getting drawn properly.

Constructor & Destructor Documentation

◆ ~Renderer()

catos::Renderer::~Renderer ( )

Member Function Documentation

◆ getInstance()

catos::Renderer & catos::Renderer::getInstance ( )
static

Singleton.

◆ init()

catos::RenderStatus catos::Renderer::init ( const RendererCreateInfo & createInfo)

If the renderer isnt already initialized then it initializes.

◆ renderObjects()

catos::RenderStatus catos::Renderer::renderObjects ( const RenderPipeline & pipeline,
void * data,
unsigned int objectAmount )

Renders all objects via the pipeline given.

◆ renderPassToScreen()

catos::RenderStatus catos::Renderer::renderPassToScreen ( catos::RenderPass & pass)

Renders the given pass to the screen. NOTE: its public for overriding.


The documentation for this class was generated from the following files: