Table of Contents

Class EngineCapabilities

Namespace
OmegaEngine
Assembly
OmegaEngine.dll

Methods for determining the rendering capabilities of the graphics hardware.

public sealed class EngineCapabilities
Inheritance
EngineCapabilities
Inherited Members
Extension Methods

Properties

Anisotropic

Does the hardware the engine is running on support anisotropic texture filtering?

public bool Anisotropic { get; }

Property Value

bool
See Also

DisplayModes

A list of all supported monitor resolutions.

public DisplayModeCollection DisplayModes { get; }

Property Value

DisplayModeCollection

DoubleSampling

Does the hardware the engine is running on support terrain texture double sampling?

public bool DoubleSampling { get; }

Property Value

bool
See Also

Hardware

Information about the hardware of this computer.

public Hardware Hardware { get; }

Property Value

Hardware

HardwareVertexProcessing

Does the graphics support hardware transformation and lighting?

public bool HardwareVertexProcessing { get; }

Property Value

bool

MaxAA

The highest supported anti-aliasing level

public int MaxAA { get; }

Property Value

int

MaxShaderModel

The maximum shader model version to be used (2.a is replaced by 2.0.1, 2.b is replaced by 2.0.2)

public Version MaxShaderModel { get; }

Property Value

Version

PerPixelEffects

Does the hardware the engine is running on support per-pixel effects?

public bool PerPixelEffects { get; }

Property Value

bool
See Also

PureDevice

Does the graphics support rasterization, transform, lighting, and shading in hardware?

public bool PureDevice { get; }

Property Value

bool

SupportedAA

A comma-separated list of all supported anti-aliasing levels

public string SupportedAA { get; }

Property Value

string

Methods

CheckAA(int)

Checks whether the graphics card supports a certain level of anti-aliasing

public bool CheckAA(int sample)

Parameters

sample int

The sample level to check

Returns

bool

true if the level is supported

CheckAA(int, int)

Checks whether the graphics card supports a certain level of anti-aliasing

public static bool CheckAA(int adapter, int sample)

Parameters

adapter int

The adapter to check

sample int

The sample level to check

Returns

bool

true if the level is supported

CheckResolution(int, int)

Checks whether the graphics card supports a certain monitor resolution

public bool CheckResolution(int width, int height)

Parameters

width int

The resolution width

height int

The resolution height

Returns

bool

true if the level is supported

CheckResolution(int, int, int)

Checks whether the graphics card supports a certain monitor resolution

public static bool CheckResolution(int adapter, int width, int height)

Parameters

adapter int

The adapter to check

width int

The resolution width

height int

The resolution height

Returns

bool

true if the level is supported