C# Class SFML.Window.ContextSettings

Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
AntialiasingLevel uint
AttributeFlags System.Attribute
DepthBits uint
MajorVersion uint
MinorVersion uint
SRgbCapable bool
StencilBits uint

Méthodes publiques

Méthode 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 méthode

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

ContextSettings() public méthode

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
Résultat System

ContextSettings() public méthode

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
Résultat System

ToString() public méthode

Provide a string describing the object
public ToString ( ) : string
Résultat string

Property Details

AntialiasingLevel public_oe property

Antialiasing level (0 is disabled)
public uint AntialiasingLevel
Résultat uint

AttributeFlags public_oe property

The attribute flags to create the context with
public Attribute,System AttributeFlags
Résultat System.Attribute

DepthBits public_oe property

Depth buffer bits (0 is disabled)
public uint DepthBits
Résultat uint

MajorVersion public_oe property

Major number of the context version
public uint MajorVersion
Résultat uint

MinorVersion public_oe property

Minor number of the context version
public uint MinorVersion
Résultat uint

SRgbCapable public_oe property

Whether the context framebuffer is sRGB capable
public bool SRgbCapable
Résultat bool

StencilBits public_oe property

Stencil buffer bits (0 is disabled)
public uint StencilBits
Résultat uint