SFML.Net
ContextSettings Structure |
Structure defining the creation settings of OpenGL contexts
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
The ContextSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContextSettings(UInt32, UInt32) |
Construct the settings from depth / stencil bits
| |
ContextSettings(UInt32, UInt32, UInt32) |
Construct the settings from depth / stencil bits and antialiasing level
| |
ContextSettings(UInt32, UInt32, UInt32, UInt32, UInt32) |
Construct the settings from depth / stencil bits and antialiasing level
|
Methods
Name | Description | |
---|---|---|
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
ToString |
Provide a string describing the object
(Overrides ValueTypeToString.) |
Fields
Name | Description | |
---|---|---|
AntialiasingLevel | Antialiasing level (0 is disabled) | |
DepthBits | Depth buffer bits (0 is disabled) | |
MajorVersion | Major number of the context version | |
MinorVersion | Minor number of the context version | |
StencilBits | Stencil buffer bits (0 is disabled) |
See Also