GLFWscrollfun

The function pointer type for scroll callbacks.

This is the function pointer type for scroll callbacks. A scroll callback function has the following signature:

void function_name(GLFWwindow* window, double xoffset, double yoffset)
extern (C) @nogc nothrow __gshared
alias GLFWscrollfun = void function(GLFWwindow*, double, double)

Meta

Since

Added in version 3.0. Replaces GLFWmousewheelfun.

Ingroup: input