Exemplo n.º 1
0
 public static extern GLFWwindowrefreshfun glfwSetWindowRefreshCallback(IntPtr window, GLFWwindowrefreshfun cbfun);
Exemplo n.º 2
0
Arquivo: Glfw.cs Projeto: vhotur/tao
 public static extern void glfwSetWindowRefreshCallback(GLFWwindowrefreshfun cbfun);
Exemplo n.º 3
0
 public static GLFWwindowrefreshfun setWindowRefreshCallback(GLFWwindow window, GLFWwindowrefreshfun cbfun)
 {
     return(Glfwint.setWindowRefreshCallback(window.handle, cbfun));
 }
Exemplo n.º 4
0
 /*! @brief Sets the refresh callback for the specified window.
  *
  *  This function sets the refresh callback of the specified window, which is
  *  called when the client area of the window needs to be redrawn, for example
  *  if the window has been exposed after having been covered by another window.
  *
  *  On compositing window systems such as Aero, Compiz or Aqua, where the window
  *  contents are saved off-screen, this callback may be called only very
  *  infrequently or never at all.
  *
  *  @param[in] window The window whose callback to set.
  *  @param[in] cbfun The new callback, or `NULL` to remove the currently set
  *  callback.
  *  @return The previously set callback, or `NULL` if no callback was set or the
  *  library had not been [initialized](@ref intro_init).
  *
  *  @par Thread Safety
  *  This function may only be called from the main thread.
  *
  *  @sa @ref window_refresh
  *
  *  @since Added in GLFW 2.5.
  *
  *  @par
  *  __GLFW 3:__ Added window handle parameter.  Updated callback signature.
  *
  *  @ingroup window
  */
 internal static extern GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow* window, GLFWwindowrefreshfun cbfun);