IRenderQuality interface
Raises the game’s render quality (supersampling + TAA, high shadows) while a token is held. Shared by every plugin, so two plugins never fight over the same game settings. Main thread only.
public interface IRenderQualityMembers
Section titled “Members”| name | description |
|---|---|
| Capabilities { get; } | Which levers resolved on this client. |
| Live { get; } | The values the game’s pipeline holds right now (read live). |
| Request(…) | Raises render quality until the returned token is disposed. Requests are reference-counted as a union: any held token asking for supersampling keeps it on. The game’s own values are captured before the first write and restored when the last token asking for a lever goes. Disposing a token twice is harmless. |
Remarks
Section titled “Remarks”The game re-applies its own quality grade on scene changes and from its settings panel; the framework re-asserts every held lever after those (event-driven, writing only values that differ). A value the game itself writes while a lever is held (from its settings panel, or a quality-grade re-apply) becomes the value restored when the last token goes — so a setting the player changed mid-session is kept, never rolled back to an older capture. Tokens a plugin still holds are released when it unloads.
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services