|
Size: 770
Comment: Update WindowID > Window*
|
Size: 673
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to associate an arbitrary pointer with the window. | Use this function to associate an arbitrary pointer with a window. |
| Line 17: | Line 16: |
| ||'''window'''||the type used to identify the window|| ||'''userdata'''||a pointer passed as the first parameter to the callback function|| |
||'''window'''||the window to associate with the pointer|| ||'''userdata'''||the associated pointer|| |
SDL_SetWindowData
Use this function to associate an arbitrary pointer with a window.
Syntax
void SDL_SetWindowData(SDL_Window* window,
void* userdata)
Function Parameters
window |
the window to associate with the pointer |
userdata |
the associated pointer |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
