SimpleGL  1.1.0
A framework for platform independent rendering
Static Public Member Functions | List of all members
sgl::GLFW Class Reference

This static class wraps general GLFW functions. More...

#include <glfw_general.hpp>

Static Public Member Functions

static void setErrorCallback (ErrorCallback *callback)
 Set the error callback. More...
 
static void pollEvents ()
 Polls the events and calls the registered callbacks. More...
 
static void terminate ()
 Terminates GLFW, this should only be called at the end of the application. More...
 

Detailed Description

This static class wraps general GLFW functions.

Definition at line 22 of file glfw_general.hpp.

Member Function Documentation

void sgl::GLFW::pollEvents ( )
static

Polls the events and calls the registered callbacks.

Definition at line 23 of file glfw_general.cpp.

void sgl::GLFW::setErrorCallback ( ErrorCallback callback)
static

Set the error callback.

Parameters
callbackPointer to the error callback.

Definition at line 18 of file glfw_general.cpp.

void sgl::GLFW::terminate ( )
static

Terminates GLFW, this should only be called at the end of the application.

Definition at line 27 of file glfw_general.cpp.


The documentation for this class was generated from the following files: