GLFWmousebuttonfun

The function pointer type for mouse button callbacks.

This is the function pointer type for mouse button callback functions. A mouse button callback function has the following signature:

void function_name(GLFWwindow* window, int button, int action, int mods)
extern (C) @nogc nothrow __gshared
alias GLFWmousebuttonfun = void function(GLFWwindow*, int, int, int)

Meta

Since

Added in version 1.0. @glfw3 Added window handle and modifier mask parameters.

Ingroup: input