gKit2 light
|
Public Member Functions | |
RT (const char *filename) | |
int | init () |
a deriver pour creer les objets openGL. More... | |
int | quit () |
a deriver pour detruire les objets openGL. More... | |
int | render () |
a deriver pour afficher les objets. More... | |
RT (const char *filename) | |
int | init () |
a deriver pour creer les objets openGL. More... | |
int | quit () |
a deriver pour detruire les objets openGL. 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... | |
virtual int | update (const float time, const float delta) |
a deriver et redefinir pour animer les objets en fonction du temps. 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_blit_framebuffer |
GLuint | m_program |
GLuint | m_texture |
GLuint | m_buffer |
GLuint | m_vao |
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 70 of file tuto_raytrace_compute.cpp.
|
inlinevirtual |
a deriver pour creer les objets openGL.
Implements AppTime.
Definition at line 78 of file tuto_raytrace_compute.cpp.
|
inlinevirtual |
a deriver pour detruire les objets openGL.
Implements AppTime.
Definition at line 150 of file tuto_raytrace_compute.cpp.
|
inlinevirtual |
a deriver pour afficher les objets.
Implements AppTime.
Definition at line 159 of file tuto_raytrace_compute.cpp.
|
inlinevirtual |
a deriver pour creer les objets openGL.
Implements AppTime.
Definition at line 80 of file tuto_raytrace_fragment.cpp.
|
inlinevirtual |
a deriver pour detruire les objets openGL.
Implements AppTime.
Definition at line 128 of file tuto_raytrace_fragment.cpp.
|
inlinevirtual |
a deriver pour afficher les objets.
Implements AppTime.
Definition at line 133 of file tuto_raytrace_fragment.cpp.