C# Класс SFML.Window.ContextSettings

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AntialiasingLevel uint
AttributeFlags System.Attribute
DepthBits uint
MajorVersion uint
MinorVersion uint
SRgbCapable bool
StencilBits uint

Открытые методы

Метод Описание
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

Описание методов

ContextSettings() публичный Метод

Construct the settings from depth / stencil bits
public ContextSettings ( uint depthBits, uint stencilBits ) : System
depthBits uint Depth buffer bits
stencilBits uint Stencil buffer bits
Результат System

ContextSettings() публичный Метод

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
Результат System

ContextSettings() публичный Метод

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
Результат System

ToString() публичный Метод

Provide a string describing the object
public ToString ( ) : string
Результат string

Описание свойств

AntialiasingLevel публичное свойство

Antialiasing level (0 is disabled)
public uint AntialiasingLevel
Результат uint

AttributeFlags публичное свойство

The attribute flags to create the context with
public Attribute,System AttributeFlags
Результат System.Attribute

DepthBits публичное свойство

Depth buffer bits (0 is disabled)
public uint DepthBits
Результат uint

MajorVersion публичное свойство

Major number of the context version
public uint MajorVersion
Результат uint

MinorVersion публичное свойство

Minor number of the context version
public uint MinorVersion
Результат uint

SRgbCapable публичное свойство

Whether the context framebuffer is sRGB capable
public bool SRgbCapable
Результат bool

StencilBits публичное свойство

Stencil buffer bits (0 is disabled)
public uint StencilBits
Результат uint