FMX.Types.GlobalUseDX10
Delphi
GlobalUseDX10: Boolean = True deprecated 'Use GlobalUseDX.';
C++
extern DELPHI_PACKAGE bool GlobalUseDX10 _DEPRECATED_ATTRIBUTE1("Use GlobalUseDX.") ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Attention: GlobalUseDX10 is deprecated. Please use GlobalUseDX.
Boolean variable that specifies whether to use hardware accelerated DirectX10 by default.
GlobalUseDX10 is initialized with True by default, to make use of the Windows Vista or Windows 7 hardware Direct2D acceleration.
If you set GlobalUseDX10 to be false, DirectX 9 is used for 3D, and GDI+ is used for 2D (because the Direct2D canvas requires DirectX 10).
GlobalUseDX10 has no effect if DirectX10 is not available (on Windows XP, for example).