|
GlistEngine
|
#include <gVbo.h>


Public Member Functions | |
| gVbo () | |
| virtual | ~gVbo () |
| gVbo (const gVbo &)=delete | |
| gVbo & | operator= (const gVbo &other)=delete |
| void | setVertexData (const gVertex *vertices, int coordNum, int total) |
| void | setIndexData (const gIndex *indices, int total) |
| void | clear () |
| void | bind () const |
| void | unbind () const |
| void | enable () |
| void | disable () |
| bool | isEnabled () const |
| bool | isVertexDataAllocated () const |
| bool | isIndexDataAllocated () const |
| void | setVertexData (const glm::vec3 *vertices, int total, int usage=GL_STATIC_DRAW) |
| void | setVertexData (const glm::vec2 *vertices, int total, int usage=GL_STATIC_DRAW) |
| void | setVertexData (const float *verticesptr, int coordNum, int total, int usage, int stride=0) |
| void | setColorData (const gColor *colors, int total, int usage) |
| void | setColorData (const float *color0r, int total, int usage, int stride=0) |
| void | setTexCoordData (const glm::vec2 *texCoords, int total, int usage) |
| void | setTexCoordData (const float *texCoord0x, int total, int usage, int stride=0) |
| void | setNormalData (const glm::vec3 *normals, int total, int usage=GL_STATIC_DRAW) |
| void | setNormalData (const float *normal0x, int total, int usage, int stride=0) |
| void | setIndexData (const int *indices, int total, int usage) |
| int | getVAOid () const |
| int | getVerticesNum () const |
| int | getIndicesNum () const |
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) |
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 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 |
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 |
| gVbo::gVbo | ( | ) |
|
virtual |
|
delete |
| void gVbo::bind | ( | ) | const |
| void gVbo::clear | ( | ) |
| void gVbo::disable | ( | ) |
| void gVbo::enable | ( | ) |
| int gVbo::getIndicesNum | ( | ) | const |
| int gVbo::getVAOid | ( | ) | const |
| int gVbo::getVerticesNum | ( | ) | const |
| bool gVbo::isEnabled | ( | ) | const |
| bool gVbo::isIndexDataAllocated | ( | ) | const |
| bool gVbo::isVertexDataAllocated | ( | ) | const |
| void gVbo::setColorData | ( | const float * | color0r, |
| int | total, | ||
| int | usage, | ||
| int | stride = 0 |
||
| ) |
| void gVbo::setColorData | ( | const gColor * | colors, |
| int | total, | ||
| int | usage | ||
| ) |
| void gVbo::setIndexData | ( | const gIndex * | indices, |
| int | total | ||
| ) |
| void gVbo::setIndexData | ( | const int * | indices, |
| int | total, | ||
| int | usage | ||
| ) |
| void gVbo::setNormalData | ( | const float * | normal0x, |
| int | total, | ||
| int | usage, | ||
| int | stride = 0 |
||
| ) |
| void gVbo::setNormalData | ( | const glm::vec3 * | normals, |
| int | total, | ||
| int | usage = GL_STATIC_DRAW |
||
| ) |
| void gVbo::setTexCoordData | ( | const float * | texCoord0x, |
| int | total, | ||
| int | usage, | ||
| int | stride = 0 |
||
| ) |
| void gVbo::setTexCoordData | ( | const glm::vec2 * | texCoords, |
| int | total, | ||
| int | usage | ||
| ) |
| void gVbo::setVertexData | ( | const float * | verticesptr, |
| int | coordNum, | ||
| int | total, | ||
| int | usage, | ||
| int | stride = 0 |
||
| ) |
| void gVbo::setVertexData | ( | const glm::vec2 * | vertices, |
| int | total, | ||
| int | usage = GL_STATIC_DRAW |
||
| ) |
| void gVbo::setVertexData | ( | const glm::vec3 * | vertices, |
| int | total, | ||
| int | usage = GL_STATIC_DRAW |
||
| ) |
| void gVbo::setVertexData | ( | const gVertex * | vertices, |
| int | coordNum, | ||
| int | total | ||
| ) |
| void gVbo::unbind | ( | ) | const |