Methods for determining the rendering capabilities of the graphics hardware.
More...
|
bool | CheckResolution (int width, int height) |
| Checks whether the graphics card supports a certain monitor resolution More...
|
|
bool | CheckAA (int sample) |
| Checks whether the graphics card supports a certain level of anti aliasing More...
|
|
|
static bool | CheckResolution (int adapter, int width, int height) |
| Checks whether the graphics card supports a certain monitor resolution More...
|
|
static bool | CheckAA (int adapter, int sample) |
| Checks whether the graphics card supports a certain level of anti aliasing More...
|
|
|
Hardware | Hardware => _hardware |
| Information about the hardware of this computer. More...
|
|
bool | PureDevice => (_capabilities.DeviceCaps).HasFlag(DeviceCaps.PureDevice) |
| Does the graphics support rasterization, transform, lighting, and shading in hardware? More...
|
|
bool | HardwareVertexProcessing => (_capabilities.DeviceCaps).HasFlag(DeviceCaps.HWTransformAndLight) |
| Does the graphics support hardware transformation and lighting? More...
|
|
bool | Anisotropic => (_direct3D.GetDeviceCaps(0, DeviceType.Hardware).TextureFilterCaps).HasFlag(FilterCaps.MinAnisotropic | FilterCaps.MagAnisotropic) |
| Does the hardware the engine is running on support anisotropic texture filtering? More...
|
|
bool | PerPixelEffects => MaxShaderModel >= new Version(2, 0) |
| Does the hardware the engine is running on support per-pixel effects? More...
|
|
bool | DoubleSampling => MaxShaderModel >= new Version(2, 0, 1) |
| Does the hardware the engine is running on support terrain texture double sampling? More...
|
|
|
DisplayModeCollection | DisplayModes [get] |
| A list of all supported monitor resolutions. More...
|
|
Version | MaxShaderModel [get] |
| The maximum shader model version to be used (2.a is replaced by 2.0.1, 2.b is replaced by 2.0.2) More...
|
|
byte | MaxAA [get] |
| The highest supported anti aliasing level More...
|
|
string | SupportedAA [get] |
| A comma-separated list of all supported anti aliasing levels More...
|
|
Methods for determining the rendering capabilities of the graphics hardware.
◆ CheckAA() [1/2]
static bool OmegaEngine.EngineCapabilities.CheckAA |
( |
int |
adapter, |
|
|
int |
sample |
|
) |
| |
|
inlinestatic |
Checks whether the graphics card supports a certain level of anti aliasing
- Parameters
-
adapter | The adapter to check |
sample | The sample level to check |
- Returns
true
if the level is supported
◆ CheckAA() [2/2]
bool OmegaEngine.EngineCapabilities.CheckAA |
( |
int |
sample | ) |
|
|
inline |
Checks whether the graphics card supports a certain level of anti aliasing
- Parameters
-
sample | The sample level to check |
- Returns
true
if the level is supported
◆ CheckResolution() [1/2]
static bool OmegaEngine.EngineCapabilities.CheckResolution |
( |
int |
adapter, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlinestatic |
Checks whether the graphics card supports a certain monitor resolution
- Parameters
-
adapter | The adapter to check |
width | The resolution width |
height | The resolution height |
- Returns
true
if the level is supported
◆ CheckResolution() [2/2]
bool OmegaEngine.EngineCapabilities.CheckResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Checks whether the graphics card supports a certain monitor resolution
- Parameters
-
width | The resolution width |
height | The resolution height |
- Returns
true
if the level is supported
◆ Anisotropic
bool OmegaEngine.EngineCapabilities.Anisotropic => (_direct3D.GetDeviceCaps(0, DeviceType.Hardware).TextureFilterCaps).HasFlag(FilterCaps.MinAnisotropic | FilterCaps.MagAnisotropic) |
Does the hardware the engine is running on support anisotropic texture filtering?
- See also
- Engine.Anisotropic
◆ DoubleSampling
bool OmegaEngine.EngineCapabilities.DoubleSampling => MaxShaderModel >= new Version(2, 0, 1) |
Does the hardware the engine is running on support terrain texture double sampling?
- See also
- EngineEffects.DoubleSampling
◆ Hardware
Hardware OmegaEngine.EngineCapabilities.Hardware => _hardware |
Information about the hardware of this computer.
◆ HardwareVertexProcessing
bool OmegaEngine.EngineCapabilities.HardwareVertexProcessing => (_capabilities.DeviceCaps).HasFlag(DeviceCaps.HWTransformAndLight) |
Does the graphics support hardware transformation and lighting?
◆ PerPixelEffects
bool OmegaEngine.EngineCapabilities.PerPixelEffects => MaxShaderModel >= new Version(2, 0) |
Does the hardware the engine is running on support per-pixel effects?
- See also
- EngineEffects.PerPixelLighting, EngineEffects.NormalMapping, EngineEffects.PostScreenEffects, EngineEffects.Shadows
◆ PureDevice
bool OmegaEngine.EngineCapabilities.PureDevice => (_capabilities.DeviceCaps).HasFlag(DeviceCaps.PureDevice) |
Does the graphics support rasterization, transform, lighting, and shading in hardware?
◆ DisplayModes
DisplayModeCollection OmegaEngine.EngineCapabilities.DisplayModes |
|
get |
A list of all supported monitor resolutions.
◆ MaxAA
byte OmegaEngine.EngineCapabilities.MaxAA |
|
get |
The highest supported anti aliasing level
◆ MaxShaderModel
Version OmegaEngine.EngineCapabilities.MaxShaderModel |
|
get |
The maximum shader model version to be used (2.a is replaced by 2.0.1, 2.b is replaced by 2.0.2)
◆ SupportedAA
string OmegaEngine.EngineCapabilities.SupportedAA |
|
get |
A comma-separated list of all supported anti aliasing levels
The documentation for this class was generated from the following file:
- OmegaEngine/EngineCapabilities.cs