readonly static bool System.HardwareAcceleration;
Returns whether the game is running with hardware acceleration (eg. Direct3D). If this is
the case then RawDrawing is likely to be slower, but alpha blending and large sprites are
likely to be faster, than when the non-accelerated driver is used.
Cross-Platform Support
Windows: Direct3D driver
MS-DOS: No
Linux: No
MacOS: No
Example:
if (System.HardwareAcceleration) {
Display("Yay, we can draw loads of alpha blended sprites fast!");
}
will display a message if the game is being run with hardware acceleration
See Also: AGS Graphics Drivers
|