GLFWcursorposfun

The function pointer type for cursor position callbacks.

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

void function_name(GLFWwindow* window, double xpos, double ypos);
extern (C) @nogc nothrow __gshared
alias GLFWcursorposfun = void function(GLFWwindow*, double, double)

Meta

Since

Added in version 3.0. Replaces GLFWmouseposfun.

Ingroup: input