|
gKit2 light
|
Public Member Functions | |
| 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. | |
| virtual int | init ()=0 |
| a deriver pour creer les objets openGL. | |
| virtual int | quit ()=0 |
| a deriver pour detruire les objets openGL. | |
| virtual int | update (const float time, const float delta) |
| a deriver et redefinir pour animer les objets en fonction du temps. | |
| virtual int | render ()=0 |
| a deriver pour afficher les objets. | |
| 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. | |
| int | run () |
| execution de l'application. | |
Protected Member Functions | |
| virtual int | prerender () |
| virtual int | postrender () |
| Protected Member Functions inherited from App | |
| void | vsync_off () |
Protected Attributes | |
| 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 |
Definition at line 18 of file app_time.h.
| 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.
Definition at line 8 of file app_time.cpp.
|
virtual |
Definition at line 30 of file app_time.cpp.
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
a deriver et redefinir pour animer les objets en fonction du temps.
Reimplemented from App.
Reimplemented in DrawInstanceBuffer, DrawInstanceBuffer, StorageImage, TP, TP, TP, TP, and TP.
Definition at line 31 of file app_time.h.
|
pure virtual |
|
protectedvirtual |
Reimplemented from App.
Definition at line 36 of file app_time.cpp.
|
protectedvirtual |
Reimplemented from App.
Definition at line 62 of file app_time.cpp.
|
protected |
Definition at line 40 of file app_time.h.
|
protected |
Definition at line 41 of file app_time.h.
|
protected |
Definition at line 43 of file app_time.h.
|
protected |
Definition at line 44 of file app_time.h.
|
protected |
Definition at line 45 of file app_time.h.
|
protected |
Definition at line 47 of file app_time.h.