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
- 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
- See Also
Hardware
Information about the hardware of this computer.
public Hardware Hardware { get; }
Property Value
HardwareVertexProcessing
Does the graphics support hardware transformation and lighting?
public bool HardwareVertexProcessing { get; }
Property Value
MaxAA
The highest supported anti-aliasing level
public int MaxAA { get; }
Property Value
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
PerPixelEffects
Does the hardware the engine is running on support per-pixel effects?
public bool PerPixelEffects { get; }
Property Value
- See Also
PureDevice
Does the graphics support rasterization, transform, lighting, and shading in hardware?
public bool PureDevice { get; }
Property Value
SupportedAA
A comma-separated list of all supported anti-aliasing levels
public string SupportedAA { get; }
Property Value
Methods
CheckAA(int)
Checks whether the graphics card supports a certain level of anti-aliasing
public bool CheckAA(int sample)
Parameters
sample
intThe 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
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
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
Returns
- bool
true
if the level is supported