scg3  0.6
Viewer.h File Reference

Central viewer managing window, controllers, animations, and main loop. More...

#include <vector>
#include "scg_glew.h"
#include <GLFW/glfw3.h>
#include "scg_internals.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scg::OGLConfig
 OpenGL configuration, may be set by user before calling Viewer::init(). More...
 
struct  scg::FrameBufferSize
 Frame buffer size, to be set by renderer in Renderer::initViewer(), called by Viewer::init(). More...
 
class  scg::Viewer
 Central viewer managing window, controllers, animations, and main loop. More...
 

Namespaces

 scg
 

Enumerations

enum  scg::OGLProfile : int { scg::OGLProfile::NONE = 0, scg::OGLProfile::CORE = GLFW_OPENGL_CORE_PROFILE, scg::OGLProfile::COMPATIBILITY = GLFW_OPENGL_COMPAT_PROFILE }
 Profile definitions for OGLConfig. More...
 

Detailed Description

Central viewer managing window, controllers, animations, and main loop.

Defines structs: OGLConfig FrameBufferSize

Requires OpenGL 3.2 (or higher), GLEW (included in scg3), and GLFW 3.2.0 (or higher).

Author
Volker Ahlers
volke.nosp@m.r.ah.nosp@m.lers@.nosp@m.hs-h.nosp@m.annov.nosp@m.er.d.nosp@m.e

Definition in file Viewer.h.