GLFWwindowfocusfun

The function pointer type for window focus callbacks.

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

void function_name(GLFWwindow* window, int focused)
extern (C) @nogc nothrow __gshared
alias GLFWwindowfocusfun = void function(GLFWwindow*, int)

Meta

Since

Added in version 3.0.

Ingroup: window