CPP-TOOLBOX
Loading...
Searching...
No Matches
glfw_lambda_callback_manager.hpp File Reference
#include <GLFW/glfw3.h>
#include <functional>

Go to the source code of this file.

Classes

struct  AllGLFWLambdaCallbacks
 
class  GLFWLambdaCallbackManager
 Allows you to specify glfw callbacks as c++ lambdas, @description glfw only allows c-style function pointers to be bound to glfw, this class allows you to get around this by wrapping the passed in std::functions in methods which are c-style functions, and then passing those wrappers into glfw. More...