Click or drag to resize

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
Syntax
public static bool IsHardwareRenderingSupported(
	out bool isHardwareEnabledByRegistryFlag,
	out bool isSufficientLevelHardwareAvailableByTierTest,
	out 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: Boolean
True if all is enabled, and thus supports hardware rendering
See Also