SDL_HINT_RENDER_GPU_LOW_POWER

A variable controlling whether to prefer a low-power GPU on multi-GPU systems.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_RENDER_GPU_LOW_POWER "SDL_RENDER_GPU_LOW_POWER"

Remarks

This variable can be set to the following values:

This hint should be set before creating a renderer.

Version

This hint is available since SDL 3.2.0.


CategoryAPI, CategoryAPIMacro, CategoryHints