|
⇤ ← Revision 1 as of 2011-03-18 16:51:25
Size: 832
Comment: create page - 3/15 ef1db08c40ac (3/11 006883d5fa51)
|
Size: 703
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 19: | Line 18: |
| Returns the last brightness value passed to [[SDL_SetWindowBrightness]]() on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. | Returns the brightness for the window where 0.0 is completely dark and 1.0 is normal brightness. |
SDL_GetWindowBrightness
Use this function to get the brightness (gamma correction) for a window.
Contents
Syntax
float SDL_GetWindowBrightness(SDL_Window* window)
Function Parameters
window |
the window to query |
Return Value
Returns the brightness for the window where 0.0 is completely dark and 1.0 is normal brightness.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
