class RenderSettings

robot_2Generated
code_blocksInput

Description

The RenderSettings class in the Sandbox.Engine.Settings namespace provides configuration options for rendering settings in the s&box game engine. It allows you to control various aspects of the rendering process, such as resolution, fullscreen mode, and frame rate limits.

Members

Instance Properties

Member NameSummary
ResolutionWidthGets or sets the width of the screen resolution.
ResolutionHeightGets or sets the height of the screen resolution.
FullscreenGets or sets a value indicating whether the game is in fullscreen mode.
BorderlessGets or sets a value indicating whether the game is in borderless window mode.
VSyncGets or sets a value indicating whether vertical synchronization is enabled.
AntiAliasQualityGets or sets the quality of anti-aliasing.
TextureFilteringGets or sets the level of texture filtering.
MaxFrameRateGets or sets the maximum frame rate when the game is active.
MaxFrameRateInactiveGets or sets the maximum frame rate when the game is inactive.
DefaultFOVGets or sets the default field of view.

Instance Methods

Member NameSummary
GetIntRetrieves an integer setting by name, returning a default value if not found.
ResetVideoConfigResets the video configuration to default settings.
ApplyApplies the current render settings.
DisplayModesGets available display modes, optionally filtering for windowed modes.