public WindowConfig(string title, uint width, uint height) { Title = title ?? throw new ArgumentNullException(nameof(title)); WindowMode = WindowState.Windowed; FrameLimitMode = FrameLimitType.Unlimited; Width = width; Height = height; FrameLimit = 0; }
public WindowConfig(string title, uint width, uint height, WindowState windowMode, FrameLimitType frameLimitMode, uint frameLimit = 0) { Title = title ?? throw new ArgumentNullException(nameof(title)); WindowMode = windowMode; FrameLimitMode = frameLimitMode; Width = width; Height = height; FrameLimit = frameLimit; }