LightningChartIsHardwareRenderingSupported Method (Boolean, Boolean, DeviceTypeFlags) |
LightningChart .NET Help
Check if hardware rendering is supported.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static bool IsHardwareRenderingSupported(
out bool isHardwareEnabledByRegistryFlag,
out bool isSufficientLevelHardwareAvailableByTierTest,
out DeviceTypeFlags isHardwareAvailableByAdapterInfo
)
Public Shared Function IsHardwareRenderingSupported (
<OutAttribute> ByRef isHardwareEnabledByRegistryFlag As Boolean,
<OutAttribute> ByRef isSufficientLevelHardwareAvailableByTierTest As Boolean,
<OutAttribute> ByRef isHardwareAvailableByAdapterInfo As DeviceTypeFlags
) As Boolean
public:
static bool IsHardwareRenderingSupported(
[OutAttribute] bool% isHardwareEnabledByRegistryFlag,
[OutAttribute] bool% isSufficientLevelHardwareAvailableByTierTest,
[OutAttribute] DeviceTypeFlags% isHardwareAvailableByAdapterInfo
)
Parameters
- isHardwareEnabledByRegistryFlag
- Type: SystemBoolean
Hardware may have been disable by HKEY_CURRENT_USER\\Software\\Microsoft\\Avalon.Graphics\\DisableHWAcceleration flag. Outputs false if so. - isSufficientLevelHardwareAvailableByTierTest
- Type: SystemBoolean
RenderCapability.Tier level test passes - isHardwareAvailableByAdapterInfo
- Type: Arction.Wpf.ChartingDeviceTypeFlags
Hardware available by querying adapters in the system
Return Value
Type:
BooleanTrue if all is enabled, and thus supports hardware rendering
See Also