Falcon
Public Member Functions | List of all members
Renderer Class Reference

#include <Renderer.h>

Public Member Functions

 Renderer ()
 
 ~Renderer ()
 
UI::UI_ManagerGetUI ()
 
void Ingame_Update (float dt, boost::container::vector< Entity *, fmemory::STLAllocator< Entity * >> *entities)
 
void Ingame_Draw ()
 
void Pause_Draw ()
 
void Pause_Update ()
 
void Menu_Update ()
 
void Menu_Draw ()
 
void Init (GLFWwindow *window)
 
void CreateDrawStates (GLFWwindow *win)
 
void SetDrawStates (boost::container::vector< Entity *, fmemory::STLAllocator< Entity * >> *entities, glm::mat4 projection)
 

Detailed Description

Class Definition for the Rendering System Responsible for Rendering each frame.

Constructor & Destructor Documentation

◆ Renderer()

Renderer::Renderer ( )

Constructor for Renderer

◆ ~Renderer()

Renderer::~Renderer ( )

Destructor for Renderer

Member Function Documentation

◆ CreateDrawStates()

void Renderer::CreateDrawStates ( GLFWwindow *  win)

Function to Create Buffers or Programs to be used in the next Draw cycle

◆ GetUI()

UI::UI_Manager* Renderer::GetUI ( )
inline

◆ Ingame_Draw()

void Renderer::Ingame_Draw ( )

◆ Ingame_Update()

void Renderer::Ingame_Update ( float  dt,
boost::container::vector< Entity *, fmemory::STLAllocator< Entity * >> *  entities 
)

◆ Init()

void Renderer::Init ( GLFWwindow *  window)

Initialization function for Renderer

◆ Menu_Draw()

void Renderer::Menu_Draw ( )

◆ Menu_Update()

void Renderer::Menu_Update ( )

◆ Pause_Draw()

void Renderer::Pause_Draw ( )

◆ Pause_Update()

void Renderer::Pause_Update ( )

◆ SetDrawStates()

void Renderer::SetDrawStates ( boost::container::vector< Entity *, fmemory::STLAllocator< Entity * >> *  entities,
glm::mat4  projection 
)

Function to Set the relevant data in the draw states.


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