#include <ExManagerVertexArrays.h>
Graphe d'héritage de la classe ExManagerVertexArrays
Membres publics | |
void | Reset (void) |
void | Init (void) |
int | RegisterArray (GLfloat *vertex, GLfloat *texture) |
void | DrawElements (GLint Start, GLsizei count) |
Membres publics statiques | |
ExManagerVertexArrays * | CreateSingleton (void) |
Membres privés | |
ExManagerVertexArrays (void) | |
~ExManagerVertexArrays (void) | |
Attributs Privés | |
PFNGLLOCKARRAYSEXTPROC | glLockArraysEXT |
PFNGLUNLOCKARRAYSEXTPROC | glUnlockArraysEXT |
GLfloat * | m_Vertex |
GLfloat * | m_Texture |
Attributs Privés Statiques | |
bool | m_flag = false |
ExManagerVertexArrays * | m_instance = NULL |
|
Définition à la ligne 42 du fichier ExManagerVertexArrays.cpp.
00043 { 00044 } |
|
Définition à la ligne 46 du fichier ExManagerVertexArrays.cpp. Références m_flag.
00047 { 00048 m_flag =false; 00049 } |
|
Définition à la ligne 28 du fichier ExManagerVertexArrays.cpp. Références CreateSingleton(), Guard, m_flag, et m_instance. Référencé par CreateSingleton(), et main().
00028 { 00029 Guard(ExManagerVertexArrays* ExManagerVertexArrays::CreateSingleton(void)) 00030 if(!m_flag) 00031 { 00032 m_flag = true; // We are creating the error log now, so set flag to true 00033 m_instance = new ExManagerVertexArrays; // Create the error log 00034 }else 00035 { 00036 std::cout<<"Error singleton already created"<<std::endl; 00037 } 00038 return m_instance; 00039 UnGuard 00040 } |
|
Définition à la ligne 93 du fichier ExManagerVertexArrays.cpp. Références Guard.
00094 { 00095 Guard(void ExManagerVertexArrays::ExManagerVertexArrays::DrawElements(GLint Start,GLsizei count)) 00096 glDrawArrays(GL_LINE_STRIP,Start,count); 00097 //std::cout<<"ploouf"<<std::endl; 00098 UnGuard 00099 } |
|
Redéfinie à partir de ExManager. Définition à la ligne 57 du fichier ExManagerVertexArrays.cpp. Références ExManager::Consol, glLockArraysEXT, glUnlockArraysEXT, Guard, et Init(). Référencé par Init(), et InitManager().
00058 { 00059 Guard(void ExManagerVertexArrays::Init(void)) 00060 glLockArraysEXT = NULL; 00061 glUnlockArraysEXT = NULL; 00062 char *extList = (char *) glGetString(GL_EXTENSIONS); 00063 //checking for compiled vertex array 00064 if(extList && strstr(extList,"GL_EXT_compiled_vertex_array")) 00065 { 00066 #ifdef UNIX_SRC 00067 #else 00068 glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC) wglGetProcAddress("glLockArraysEXT"); 00069 glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC) wglGetProcAddress("glUnLockArraysEXT"); 00070 #endif 00071 //glEnableClientState ( GL_VERTEX_ARRAY ); 00072 //glEnableClientState ( GL_TEXTURE_COORD_ARRAY ); 00073 } 00074 if(glLockArraysEXT = NULL){ *Consol<<"OpenGl glLockArraysEXT extension missing"<<std::endl; return;} 00075 if(glUnlockArraysEXT = NULL){ *Consol<<"OpenGl glUnlockArraysEXT extension missing"<<std::endl; return;} 00076 *Consol<<"ExManagerVertexArrays::GL_EXT_compiled_vertex_array found and enable"<<std::endl; 00077 UnGuard 00078 } |
|
Définition à la ligne 80 du fichier ExManagerVertexArrays.cpp. Références Guard, m_Texture, m_Vertex, et RegisterArray(). Référencé par RegisterArray().
00081 { 00082 Guard(void ExManagerVertexArrays::RegisterArray(GLfloat *vertex,GLfloat *texture)) 00083 GLint x=0; 00084 m_Texture=texture; 00085 m_Vertex=vertex; 00086 glVertexPointer(3, GL_FLOAT, 0, m_Vertex); 00087 //glTexCoordPointer(2, GL_FLOAT, 0, m_Texture); 00088 std::cout<<x<<std::endl; 00089 return x; 00090 UnGuard 00091 } |
|
Redéfinie à partir de ExManager. Définition à la ligne 51 du fichier ExManagerVertexArrays.cpp. Référencé par Reset().
00052 { 00053 Guard(void ExManagerVertexArrays::Reset(void)) 00054 UnGuard 00055 } |
|
Définition à la ligne 67 du fichier ExManagerVertexArrays.h. Référencé par Init(). |
|
Définition à la ligne 68 du fichier ExManagerVertexArrays.h. Référencé par Init(). |
|
Définition à la ligne 25 du fichier ExManagerVertexArrays.cpp. Référencé par CreateSingleton(), et ~ExManagerVertexArrays(). |
|
Définition à la ligne 26 du fichier ExManagerVertexArrays.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 78 du fichier ExManagerVertexArrays.h. Référencé par RegisterArray(). |
|
Définition à la ligne 77 du fichier ExManagerVertexArrays.h. Référencé par RegisterArray(). |