(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE

A variable controlling whether the Metal render driver select low power device over default one

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE "SDL_RENDER_METAL_PREFER_LOW_POWER_DEVICE"

Remarks

This variable can be set to the following values:

By default the prefered OS device is used.


CategoryAPI, CategoryAPIMacro, CategoryHints