GlistEngine
Loading...
Searching...
No Matches
gRenderObject Class Reference

#include <gRenderObject.h>

Inheritance diagram for gRenderObject:
Collaboration diagram for gRenderObject:

Public Member Functions

 gRenderObject ()
int getScreenWidth ()
int getScreenHeight ()
void pushMatrix ()
void popMatrix ()
Public Member Functions inherited from gObject
 gObject ()
void logi (std::string message)
void logd (std::string message)
void logw (std::string message)
void loge (std::string message)
void logi (std::string tag, std::string message)
void logd (std::string tag, std::string message)
void logw (std::string tag, std::string message)
void loge (std::string tag, std::string message)

Static Public Member Functions

static void setScreenSize (int screenWidth, int screenHeight)
static void setUnitScreenSize (int unitWidth, int unitHeight)
static void setScreenScaling (int screenScaling)
static void enableShadowMapping ()
static void disableShadowMapping ()
static bool isShadowMappingEnabled ()
static void enableExtraShaders (bool isEnabled=true)
static void disableExtraShaders ()
static bool isExtraShadersEnabled ()
static gRenderer * getRenderer ()
static void destroyRenderer ()
static void createRenderer (int renderEngine=G_RENDERER_GL)
Static Public Member Functions inherited from gObject
static std::string gGetAppDir ()
static std::string gGetAssetsDir ()
static void gSetAssetsDir (std::string assetsDir)
static std::string gGetFilesDir ()
static std::string gGetImagesDir ()
static std::string gGetFontsDir ()
static std::string gGetModelsDir ()
static std::string gGetTexturesDir ()
static std::string gGetShadersDir ()
static std::string gGetSoundsDir ()
static std::string gGetDatabasesDir ()
static std::string gGetVideosDir ()
static void setCurrentResolution (int scalingNo, int currentResolutionNo)

Static Protected Attributes

static bool isshadowmappingenabled
static bool isextrashadersenabled
Static Protected Attributes inherited from gObject
static int renderpassnum
static int renderpassno
static int releasescaling
static int releaseresolution

Friends

class gRenderer

Additional Inherited Members

Static Public Attributes inherited from gObject
static const int LOGLEVEL_SILENT
static const int LOGLEVEL_DEBUG
static const int LOGLEVEL_INFO
static const int LOGLEVEL_WARNING
static const int LOGLEVEL_ERROR

Constructor & Destructor Documentation

◆ gRenderObject()

gRenderObject::gRenderObject ( )

Member Function Documentation

◆ createRenderer()

void gRenderObject::createRenderer ( int renderEngine = G_RENDERER_GL)
static

◆ destroyRenderer()

void gRenderObject::destroyRenderer ( )
static

◆ disableExtraShaders()

void gRenderObject::disableExtraShaders ( )
static

◆ disableShadowMapping()

void gRenderObject::disableShadowMapping ( )
static

◆ enableExtraShaders()

void gRenderObject::enableExtraShaders ( bool isEnabled = true)
static

◆ enableShadowMapping()

void gRenderObject::enableShadowMapping ( )
static

◆ getRenderer()

gRenderer * gRenderObject::getRenderer ( )
static

◆ getScreenHeight()

int gRenderObject::getScreenHeight ( )

◆ getScreenWidth()

int gRenderObject::getScreenWidth ( )

◆ isExtraShadersEnabled()

bool gRenderObject::isExtraShadersEnabled ( )
static

◆ isShadowMappingEnabled()

bool gRenderObject::isShadowMappingEnabled ( )
static

◆ popMatrix()

void gRenderObject::popMatrix ( )

◆ pushMatrix()

void gRenderObject::pushMatrix ( )

◆ setScreenScaling()

void gRenderObject::setScreenScaling ( int screenScaling)
static

◆ setScreenSize()

void gRenderObject::setScreenSize ( int screenWidth,
int screenHeight )
static

◆ setUnitScreenSize()

void gRenderObject::setUnitScreenSize ( int unitWidth,
int unitHeight )
static

◆ gRenderer

friend class gRenderer
friend

Member Data Documentation

◆ isextrashadersenabled

bool gRenderObject::isextrashadersenabled
staticprotected

◆ isshadowmappingenabled

bool gRenderObject::isshadowmappingenabled
staticprotected

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