Sync SDL3 wiki -> header
parent
e223e1d498
commit
fbe7301aba
|
@ -344,13 +344,16 @@ extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer *renderer, SDL_Rend
|
||||||
* SDL_COLORSPACE_SRGB.
|
* SDL_COLORSPACE_SRGB.
|
||||||
* - `SDL_PROP_RENDERER_HDR_ENABLED_BOOLEAN`: true if the output colorspace is
|
* - `SDL_PROP_RENDERER_HDR_ENABLED_BOOLEAN`: true if the output colorspace is
|
||||||
* SDL_COLORSPACE_SRGB_LINEAR and the renderer is showing on a display with
|
* SDL_COLORSPACE_SRGB_LINEAR and the renderer is showing on a display with
|
||||||
* HDR enabled. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* HDR enabled. This property can change dynamically when
|
||||||
|
* SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
* - `SDL_PROP_RENDERER_SDR_WHITE_POINT_FLOAT`: the value of SDR white in the
|
* - `SDL_PROP_RENDERER_SDR_WHITE_POINT_FLOAT`: the value of SDR white in the
|
||||||
* SDL_COLORSPACE_SRGB_LINEAR colorspace. When HDR is enabled, this value is
|
* SDL_COLORSPACE_SRGB_LINEAR colorspace. When HDR is enabled, this value is
|
||||||
* automatically multiplied into the color scale. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* automatically multiplied into the color scale. This property can change
|
||||||
|
* dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
* - `SDL_PROP_RENDERER_HDR_HEADROOM_FLOAT`: the additional high dynamic range
|
* - `SDL_PROP_RENDERER_HDR_HEADROOM_FLOAT`: the additional high dynamic range
|
||||||
* that can be displayed, in terms of the SDR white point. When HDR is not
|
* that can be displayed, in terms of the SDR white point. When HDR is not
|
||||||
* enabled, this will be 1.0. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* enabled, this will be 1.0. This property can change dynamically when
|
||||||
|
* SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
* - `SDL_PROP_RENDERER_D3D9_DEVICE_POINTER`: the IDirect3DDevice9 associated
|
* - `SDL_PROP_RENDERER_D3D9_DEVICE_POINTER`: the IDirect3DDevice9 associated
|
||||||
* with the renderer
|
* with the renderer
|
||||||
* - `SDL_PROP_RENDERER_D3D11_DEVICE_POINTER`: the ID3D11Device associated
|
* - `SDL_PROP_RENDERER_D3D11_DEVICE_POINTER`: the ID3D11Device associated
|
||||||
|
|
|
@ -355,15 +355,18 @@ extern DECLSPEC SDL_DisplayID SDLCALL SDL_GetPrimaryDisplay(void);
|
||||||
*
|
*
|
||||||
* The following read-only properties are provided by SDL:
|
* The following read-only properties are provided by SDL:
|
||||||
*
|
*
|
||||||
* - `SDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN`: true if the display has HDR
|
* - `SDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN`: true if the display has HDR
|
||||||
* headroom above the SDR white point. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* headroom above the SDR white point. This property can change dynamically
|
||||||
|
* when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
* - `SDL_PROP_DISPLAY_SDR_WHITE_POINT_FLOAT`: the value of SDR white in the
|
* - `SDL_PROP_DISPLAY_SDR_WHITE_POINT_FLOAT`: the value of SDR white in the
|
||||||
* SDL_COLORSPACE_SRGB_LINEAR colorspace. On Windows this corresponds to the
|
* SDL_COLORSPACE_SRGB_LINEAR colorspace. On Windows this corresponds to the
|
||||||
* SDR white level in scRGB colorspace, and on Apple platforms this is
|
* SDR white level in scRGB colorspace, and on Apple platforms this is
|
||||||
* always 1.0 for EDR content. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* always 1.0 for EDR content. This property can change dynamically when
|
||||||
|
* SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
* - `SDL_PROP_DISPLAY_HDR_HEADROOM_FLOAT`: the additional high dynamic range
|
* - `SDL_PROP_DISPLAY_HDR_HEADROOM_FLOAT`: the additional high dynamic range
|
||||||
* that can be displayed, in terms of the SDR white point. When HDR is not
|
* that can be displayed, in terms of the SDR white point. When HDR is not
|
||||||
* enabled, this will be 1.0. This property can change dynamically when SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
* enabled, this will be 1.0. This property can change dynamically when
|
||||||
|
* SDL_EVENT_DISPLAY_HDR_STATE_CHANGED is sent.
|
||||||
*
|
*
|
||||||
* \param displayID the instance ID of the display to query
|
* \param displayID the instance ID of the display to query
|
||||||
* \returns a valid property ID on success or 0 on failure; call
|
* \returns a valid property ID on success or 0 on failure; call
|
||||||
|
|
Loading…
Reference in New Issue