OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
Render Class Reference

#include <Render.h>

Collaboration diagram for Render:
[legend]

Static Public Member Functions

static void clearRoomList ()
 
static void display ()
 
static void displayUI ()
 
static void screenShot (const char *filenameBase)
 
static void drawTexture (float x, float y, float w, float h, glm::vec4 color, unsigned int texture, TextureStorage s)
 
static RenderMode getMode ()
 
static void setMode (RenderMode m)
 
static void setDisplayViewFrustum (bool d)
 
static bool getDisplayViewFrustum ()
 

Static Private Member Functions

static void buildRoomList (int room=-2, int budget=10)
 

Static Private Attributes

static RenderMode mode = RenderMode::LoadScreen
 
static std::vector< Room * > roomList
 
static bool displayViewFrustum = false
 

Detailed Description

Definition at line 26 of file Render.h.

Member Function Documentation

static void Render::clearRoomList ( )
inlinestatic

Definition at line 29 of file Render.h.

void Render::display ( )
static

Definition at line 32 of file Render.cpp.

void Render::displayUI ( )
static

Definition at line 193 of file Render.cpp.

void Render::screenShot ( const char *  filenameBase)
static

Definition at line 121 of file Render.cpp.

void Render::drawTexture ( float  x,
float  y,
float  w,
float  h,
glm::vec4  color,
unsigned int  texture,
TextureStorage  s 
)
static

Definition at line 160 of file Render.cpp.

static RenderMode Render::getMode ( )
inlinestatic

Definition at line 39 of file Render.h.

static void Render::setMode ( RenderMode  m)
inlinestatic

Definition at line 40 of file Render.h.

static void Render::setDisplayViewFrustum ( bool  d)
inlinestatic

Definition at line 42 of file Render.h.

static bool Render::getDisplayViewFrustum ( )
inlinestatic

Definition at line 43 of file Render.h.

void Render::buildRoomList ( int  room = -2,
int  budget = 10 
)
staticprivate

Definition at line 81 of file Render.cpp.

Member Data Documentation

RenderMode Render::mode = RenderMode::LoadScreen
staticprivate

Definition at line 48 of file Render.h.

std::vector< Room * > Render::roomList
staticprivate

Definition at line 49 of file Render.h.

bool Render::displayViewFrustum = false
staticprivate

Definition at line 51 of file Render.h.


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