RenderingOptions Class
Configuration options for the rendering system.
public sealed class RenderingOptions
Inheritance System.Object → RenderingOptions
| Properties | |
|---|---|
| MaxDeltaTimeMs | Gets or sets the maximum delta time in milliseconds applied per frame. Prevents runaway physics or update logic after a pause, debugger break, or frame spike. Default: 100ms. Set higher for games with heavy simulation; lower for tighter physics. |
| MaxVerticesPerFrame | Gets or sets the number of vertices that can be staged per GPU transfer pass. |
| PreferredGPUDriver | Preferred GPU driver backend. If null or Auto, SDL3 will automatically select the best driver for the platform. |
| TargetFPS | Gets or sets the target frames per second for the game loop. 0 = unlimited (use VSync or monitor refresh rate). |
| VSync | Synchronizes frame rate with the display refresh rate. Default: true. When disabled, use TargetFPS to cap the frame rate manually. |