The plugin shows "Rendering: GPU" or "Rendering: software" on the
video. state() asks the player; mode is the renderer drawing now,
which can differ from the saved choice until the next start.
const { mode } = await plugin.rendering.state();
const label: Record<RenderingMode, string> = { gpu: "GPU", software: "software" };
await plugin.osd.show("Rendering: {}", [label[mode]]);
Which renderer draws the video:
"gpu"(the GPU renderer, where render options apply) or"software"(they fail withunsupported). The same values as SystemInfo.rendering.