FemViewer::GLCore Class Reference
#include <fv_txt_utls.h>
List of all members.
Public Member Functions |
| ~GLCore () |
GLuint | createBuffer (const void *data, unsigned int dataSize, GLenum target, GLenum usage) |
bool | initGLLists (const GLsizei size) |
void | renderGLList (const GLuint type) |
void | deleteGLLists (const GLuint listID, const GLsizei size) |
void | deleteBuffers (GLuint *buffer, const GLsizei size) |
void | startGLList (GLuint type) |
void | endGLList () |
bool | getInfo (unsigned int param=0) |
void | printSelf () |
bool | isExtensionSupported (const std::string &ext) |
template<typename TVertex > |
GLuint | createGLText (const TVertex *buffer, const GLsizei stride, const GLuint num, const GLfloat color[3], const GLuint type, const GLboolean drawAll=GL_TRUE) |
template<> |
GLuint | createGLText (const BaseVertex *buffer, const GLsizei stride, const GLuint num, const GLfloat color[3], const GLuint type, const GLboolean drawAll) |
Static Public Member Functions |
static GLboolean | init (int argc, char *argv[]) |
static GLCore & | instance () |
Constructor & Destructor Documentation
FemViewer::GLCore::~GLCore |
( |
|
) |
|
Member Function Documentation
GLuint FemViewer::GLCore::createBuffer |
( |
const void * |
data, |
|
|
unsigned int |
dataSize, |
|
|
GLenum |
target, |
|
|
GLenum |
usage | |
|
) |
| | |
template<>
GLuint FemViewer::GLCore::createGLText |
( |
const BaseVertex * |
buffer, |
|
|
const GLsizei |
stride, |
|
|
const GLuint |
num, |
|
|
const GLfloat |
color[3], |
|
|
const GLuint |
type, |
|
|
const GLboolean |
drawAll | |
|
) |
| | [inline] |
template<typename TVertex >
GLuint FemViewer::GLCore::createGLText |
( |
const TVertex * |
buffer, |
|
|
const GLsizei |
stride, |
|
|
const GLuint |
num, |
|
|
const GLfloat |
color[3], |
|
|
const GLuint |
type, |
|
|
const GLboolean |
drawAll = GL_TRUE | |
|
) |
| | [inline] |
void FemViewer::GLCore::deleteBuffers |
( |
GLuint * |
buffer, |
|
|
const GLsizei |
size | |
|
) |
| | |
void FemViewer::GLCore::deleteGLLists |
( |
const GLuint |
listID, |
|
|
const GLsizei |
size | |
|
) |
| | |
void FemViewer::GLCore::endGLList |
( |
|
) |
|
bool FemViewer::GLCore::getInfo |
( |
unsigned int |
param = 0 |
) |
|
GLboolean FemViewer::GLCore::init |
( |
int |
argc, |
|
|
char * |
argv[] | |
|
) |
| | [static] |
bool FemViewer::GLCore::initGLLists |
( |
const GLsizei |
size |
) |
|
GLCore & FemViewer::GLCore::instance |
( |
void |
|
) |
[static] |
bool FemViewer::GLCore::isExtensionSupported |
( |
const std::string & |
ext |
) |
|
void FemViewer::GLCore::printSelf |
( |
|
) |
|
void FemViewer::GLCore::renderGLList |
( |
const GLuint |
type |
) |
|
void FemViewer::GLCore::startGLList |
( |
GLuint |
type |
) |
|
The documentation for this class was generated from the following files: