namespace MoonWorks { /// /// The Game's frame limiter mode. Specifies a maximum rendering frames per second value. /// public enum FrameLimiterMode { /// /// The game will render at the maximum possible framerate that the computing resources allow.
/// Note that this may lead to overheating, resource starvation, etc. ///
Uncapped, /// /// The game will render no more than the specified frames per second. /// Capped } public struct FrameLimiterSettings { public FrameLimiterMode Mode; /// /// If Mode is set to Uncapped, this is the maximum frames per second that will be rendered. /// public int Cap; public FrameLimiterSettings( FrameLimiterMode mode, int cap ) { Mode = mode; Cap = cap; } } }