Added section on user pointer to window guide.

This commit is contained in:
Camilla Berglund 2013-10-12 20:00:16 +02:00
parent 4175c9edea
commit a5df39e14f
1 changed files with 8 additions and 0 deletions

View File

@ -62,6 +62,14 @@ Once this function is called, no more events will be delivered for that window
and its handle becomes invalid.
@section window_userptr Window user pointer
Each window has a user pointer that can be set with @ref
glfwSetWindowUserPointer and fetched with @ref glfwGetWindowUserPointer. This
can be used for any purpose you need and will not modified by GLFW throughout
the life-time of the window.
@section window_hints Window creation hints
There are a number of hints that can be set before the creation of a window and