# OpenGLSettings class

Namespace: [Rhino.ApplicationSettings](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.applicationsettings.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class OpenGLSettings
```

Static methods and properties to control OpenGL settings

## Properties

- [AntialiasLevel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.openglsettings/antialiaslevel.md): (static) Gets or sets the anti-alias level used by OpenGL viewports

## Methods

- [GetCurrentState](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.openglsettings/getcurrentstate.md): (static) Gets the current settings.
- [GetDefaultState](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.openglsettings/getdefaultstate.md): (static) Gets the OpenGL factory settings.
- [RestoreDefaults](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.openglsettings/restoredefaults.md): (static) Updates from the default setting state.
- [UpdateFromState](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.openglsettings/updatefromstate.md): (static) Updates from a particular setting state.
