ContextSettings Constructor (UInt32, UInt32, UInt32, UInt32, UInt32)

SFML.Net

ContextSettings Constructor (UInt32, UInt32, UInt32, UInt32, UInt32)
Construct the settings from depth / stencil bits and antialiasing level

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public ContextSettings(
	uint depthBits,
	uint stencilBits,
	uint antialiasingLevel,
	uint majorVersion,
	uint minorVersion
)
Public Sub New ( 
	depthBits As UInteger,
	stencilBits As UInteger,
	antialiasingLevel As UInteger,
	majorVersion As UInteger,
	minorVersion As UInteger
)
public:
ContextSettings(
	unsigned int depthBits, 
	unsigned int stencilBits, 
	unsigned int antialiasingLevel, 
	unsigned int majorVersion, 
	unsigned int minorVersion
)
new : 
        depthBits : uint32 * 
        stencilBits : uint32 * 
        antialiasingLevel : uint32 * 
        majorVersion : uint32 * 
        minorVersion : uint32 -> ContextSettings

Parameters

depthBits
Type: SystemUInt32
Depth buffer bits
stencilBits
Type: SystemUInt32
Stencil buffer bits
antialiasingLevel
Type: SystemUInt32
Antialiasing level
majorVersion
Type: SystemUInt32
Major number of the context version
minorVersion
Type: SystemUInt32
Minor number of the context version
See Also