From a5df39e14fb5e913e004c594f39e909b005d047a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 12 Oct 2013 20:00:16 +0200 Subject: [PATCH] Added section on user pointer to window guide. --- docs/window.dox | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/window.dox b/docs/window.dox index c91a67d9..8a28958a 100644 --- a/docs/window.dox +++ b/docs/window.dox @@ -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