Jagguar Game Engine

Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
IGraphicsEngineRenderer Class Referenceabstract

`#include <IGraphicsEngineRenderer.hpp>`

Inheritance diagram for IGraphicsEngineRenderer:
[legend]

## Public Member Functions
| IGraphicsEngineRenderer (int w, int h)
virtual | ~IGraphicsEngineRenderer ()
virtual void | SetRenderDrawColor (int r, int g, int b, int a)=0
virtual void | RenderClear ()=0
virtual void | RenderPresent ()=0

## Protected Attributes
int | mScreenWidth {0}
int | mScreenHeight {0}

## Detailed Description

This class serves as an interface to the main graphics renderer for our engine.

## Constructor & Destructor Documentation

## ◆ IGraphicsEngineRenderer()

IGraphicsEngineRenderer::IGraphicsEngineRenderer | ( | int | w,
|  | int | h
| ) |  |
| inline

Constructor

## ◆ ~IGraphicsEngineRenderer()

virtual IGraphicsEngineRenderer::~IGraphicsEngineRenderer | ( |  | ) |
| inline virtual

Destructor

## Member Function Documentation

## ◆ RenderClear()

virtual void IGraphicsEngineRenderer::RenderClear | ( |  | ) |
| pure virtual

Clear the screen

Implemented in SDLGraphicsEngineRenderer.

## ◆ RenderPresent()

virtual void IGraphicsEngineRenderer::RenderPresent | ( |  | ) |
| pure virtual

Render whatever is in the backbuffer to the screen.

Implemented in SDLGraphicsEngineRenderer.

## ◆ SetRenderDrawColor()

virtual void IGraphicsEngineRenderer::SetRenderDrawColor | ( | int | r,
|  | int | g,
|  | int | b,
|  | int | a
| ) |  |
| pure virtual

Set the color for the background whenever the color is cleared.

Implemented in SDLGraphicsEngineRenderer.

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

- include/IGraphicsEngineRenderer.hpp