Skip to content

Brine2DOptions.GameThreadPriority Property

Definition

Namespace: Brine2D.Hosting

Scheduling priority of the dedicated game thread. Raise to System.Threading.ThreadPriority.AboveNormal on CPU-bound workloads for tighter frame-timing. Avoid System.Threading.ThreadPriority.Highest; it can starve OS threads and cause system instability on some platforms. Default: System.Threading.ThreadPriority.Normal.

public System.Threading.ThreadPriority GameThreadPriority { get; set; }

Property Value

System.Threading.ThreadPriority