C# Class SFML.Window.ContextSettings

ファイルを表示 Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
AntialiasingLevel uint
AttributeFlags System.Attribute
DepthBits uint
MajorVersion uint
MinorVersion uint
SRgbCapable bool
StencilBits uint

Public Methods

Method Description
ContextSettings ( uint depthBits, uint stencilBits ) : System

Construct the settings from depth / stencil bits

ContextSettings ( uint depthBits, uint stencilBits, uint antialiasingLevel ) : System

Construct the settings from depth / stencil bits and antialiasing level

ContextSettings ( uint depthBits, uint stencilBits, uint antialiasingLevel, uint majorVersion, uint minorVersion, Attribute attributes, bool sRgbCapable ) : System

Construct the settings from depth / stencil bits and antialiasing level

ToString ( ) : string

Provide a string describing the object

Method Details

ContextSettings() public method

Construct the settings from depth / stencil bits
public ContextSettings ( uint depthBits, uint stencilBits ) : System
depthBits uint Depth buffer bits
stencilBits uint Stencil buffer bits
return System

ContextSettings() public method

Construct the settings from depth / stencil bits and antialiasing level
public ContextSettings ( uint depthBits, uint stencilBits, uint antialiasingLevel ) : System
depthBits uint Depth buffer bits
stencilBits uint Stencil buffer bits
antialiasingLevel uint Antialiasing level
return System

ContextSettings() public method

Construct the settings from depth / stencil bits and antialiasing level
public ContextSettings ( uint depthBits, uint stencilBits, uint antialiasingLevel, uint majorVersion, uint minorVersion, Attribute attributes, bool sRgbCapable ) : System
depthBits uint Depth buffer bits
stencilBits uint Stencil buffer bits
antialiasingLevel uint Antialiasing level
majorVersion uint Major number of the context version
minorVersion uint Minor number of the context version
attributes System.Attribute Attribute flags of the context
sRgbCapable bool sRGB capability of the context
return System

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

AntialiasingLevel public_oe property

Antialiasing level (0 is disabled)
public uint AntialiasingLevel
return uint

AttributeFlags public_oe property

The attribute flags to create the context with
public Attribute,System AttributeFlags
return System.Attribute

DepthBits public_oe property

Depth buffer bits (0 is disabled)
public uint DepthBits
return uint

MajorVersion public_oe property

Major number of the context version
public uint MajorVersion
return uint

MinorVersion public_oe property

Minor number of the context version
public uint MinorVersion
return uint

SRgbCapable public_oe property

Whether the context framebuffer is sRGB capable
public bool SRgbCapable
return bool

StencilBits public_oe property

Stencil buffer bits (0 is disabled)
public uint StencilBits
return uint