SDL_HINT_RENDER_GPU_LOW_POWER(3)

SDL_HINT_RENDER_GPU_LOW_POWER3

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

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_RENDER_GPU_LOW_POWER SDL_RENDER_GPU_LOW_POWER"

Header file

Defined in SDL3/SDL_hints.h

Overview

This variable can be set to the following values:

• "0": Prefer high-performance GPU (default)

• "1": Prefer low-power GPU

This hint should be set before creating a renderer.

Availability

This hint is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.