Get the HDR headroom used for render output.
Defined in <SDL3/SDL_render.h>
bool SDL_GetRenderHDRHeadroom(SDL_Renderer *renderer, float *headroom);| SDL_Renderer * | renderer | the rendering context. |
| float * | headroom | a pointer filled in with the HDR headroom being used for rendering. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function should only be called on the main thread.
This function is available since SDL 3.6.0.