gKit2 light
|
Public Member Functions | |
int | init () |
a deriver pour creer les objets openGL. More... | |
int | quit () |
a deriver pour detruire les objets openGL. More... | |
int | update (const float time, const float delta) |
a deriver et redefinir pour animer les objets en fonction du temps. More... | |
int | render () |
a deriver pour afficher les objets. More... | |
Public Member Functions inherited from AppTime | |
AppTime (const int width, const int height, const int major=3, const int minor=3, const int samples=0) | |
constructeur, dimensions de la fenetre et version d'openGL. More... | |
Public Member Functions inherited from App | |
App (const int width, const int height, const int major=3, const int minor=3, const int samples=0) | |
constructeur, dimensions de la fenetre et version d'openGL. More... | |
int | run () |
execution de l'application. More... | |
Protected Attributes | |
Mesh | m_mesh |
Orbiter | m_camera |
GLuint | m_program |
GLuint | m_program_display |
GLuint | m_texture |
Protected Attributes inherited from AppTime | |
std::chrono::high_resolution_clock::time_point | m_cpu_start |
std::chrono::high_resolution_clock::time_point | m_cpu_stop |
GLuint | m_time_query [MAX_FRAMES] |
GLint64 | m_frame_time |
int | m_frame |
Text | m_console |
Protected Attributes inherited from App | |
Window | m_window |
Context | m_context |
bool | sync |
Additional Inherited Members | |
Protected Member Functions inherited from AppTime | |
virtual int | prerender () |
virtual int | postrender () |
Protected Member Functions inherited from App | |
void | vsync_off () |
Definition at line 19 of file tuto_storage_texture.cpp.
|
inlinevirtual |
a deriver pour creer les objets openGL.
Implements AppTime.
Definition at line 25 of file tuto_storage_texture.cpp.
|
inlinevirtual |
a deriver pour detruire les objets openGL.
Implements AppTime.
Definition at line 61 of file tuto_storage_texture.cpp.
|
inlinevirtual |
a deriver et redefinir pour animer les objets en fonction du temps.
Reimplemented from AppTime.
Definition at line 69 of file tuto_storage_texture.cpp.
|
inlinevirtual |
a deriver pour afficher les objets.
Implements AppTime.
Definition at line 76 of file tuto_storage_texture.cpp.