Tao.Glfw SDK Documentation

Glfw.glfwSetWindowRefreshCallback Method 

The function selects which function to be called upon a window refresh event, which occurs when any part of the window client area has been damaged, and needs to be repainted (for instance, if a part of the window that was previously occluded by another window has become visible).

[Visual Basic]
Public Shared Sub glfwSetWindowRefreshCallback( _
   ByVal cbfun As GLFWwindowrefreshfun _
)
[C#]
public static void glfwSetWindowRefreshCallback(
   GLFWwindowrefreshfun cbfun
);

Parameters

cbfun
Pointer to a callback function that will be called when the window client area needs to be refreshed.

Remarks

A window has to be opened for this function to have any effect.

Window refresh events are recorded continuously, but only reported when glfwPollEvents, glfwWaitEvents or glfwSwapBuffers is called.

See Also

Glfw Class | Tao.Glfw Namespace