|
GlistEngine
|
#include <gFbo.h>


Public Member Functions | |
| gFbo () | |
| virtual | ~gFbo () |
| void | allocate (int width, int height, bool isDepthMap=false, bool useDepthTexture=false) |
| unsigned int | getId () const |
| int | getWidth () const |
| int | getHeight () const |
| unsigned int | getTextureId () const |
| unsigned int | getDepthTextureId () const |
| gTexture & | getTexture () |
| void | bind () |
| void | unbind () |
| void | draw (int x, int y) |
| void | draw (int x, int y, int w, int h) |
| void | draw (int x, int y, int w, int h, float rotate) |
| void | draw (glm::vec2 position, glm::vec2 size, float rotate=0.0f) |
| void | drawSub (int x, int y, int sx, int sy, int sw, int sh) |
| void | drawSub (int x, int y, int w, int h, int sx, int sy, int sw, int sh) |
| void | drawSub (int x, int y, int w, int h, int sx, int sy, int sw, int sh, float rotate) |
| void | drawSub (glm::vec2 pos, glm::vec2 size, glm::vec2 subpos, glm::vec2 subsize, float rotate=0.0f) |
| void | drawSub (const gRect &src, const gRect &dst, float rotate=0.f) |
Public Member Functions inherited from gRenderObject | |
| 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 Attributes | |
| static int | defaultfbo |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from gRenderObject | |
| 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 gRenderer * | getRenderer () |
| static void | destroyRenderer () |
| static void | createRenderer () |
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 inherited from gRenderObject | |
| static bool | isshadowmappingenabled |
Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
| gFbo::gFbo | ( | ) |
|
virtual |
| void gFbo::allocate | ( | int | width, |
| int | height, | ||
| bool | isDepthMap = false, |
||
| bool | useDepthTexture = false |
||
| ) |
| void gFbo::bind | ( | ) |
| void gFbo::draw | ( | glm::vec2 | position, |
| glm::vec2 | size, | ||
| float | rotate = 0.0f |
||
| ) |
| void gFbo::draw | ( | int | x, |
| int | y | ||
| ) |
| void gFbo::draw | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
| void gFbo::draw | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| float | rotate | ||
| ) |
| void gFbo::drawSub | ( | glm::vec2 | pos, |
| glm::vec2 | size, | ||
| glm::vec2 | subpos, | ||
| glm::vec2 | subsize, | ||
| float | rotate = 0.0f |
||
| ) |
| void gFbo::drawSub | ( | int | x, |
| int | y, | ||
| int | sx, | ||
| int | sy, | ||
| int | sw, | ||
| int | sh | ||
| ) |
| void gFbo::drawSub | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | sx, | ||
| int | sy, | ||
| int | sw, | ||
| int | sh | ||
| ) |
| void gFbo::drawSub | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | sx, | ||
| int | sy, | ||
| int | sw, | ||
| int | sh, | ||
| float | rotate | ||
| ) |
| unsigned int gFbo::getDepthTextureId | ( | ) | const |
| int gFbo::getHeight | ( | ) | const |
| unsigned int gFbo::getId | ( | ) | const |
| gTexture & gFbo::getTexture | ( | ) |
| unsigned int gFbo::getTextureId | ( | ) | const |
| int gFbo::getWidth | ( | ) | const |
| void gFbo::unbind | ( | ) |
|
static |