Click or drag to resize
AB4D logo

DXViewGraphicsProfiles Property

Gets or sets an array of GraphicsProfile objects that specify graphics settings that are supported by this DXView.

Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public GraphicsProfile[] GraphicsProfiles { get; set; }

Property Value

GraphicsProfile
Remarks

When DXView is initializing it gets the first GraphicsProfile from this array and tries to initialize the DXDevice and DirectX with the setting specified in that GraphicsProfile. If initialization is successful this GraphicsProfile is set to UsedGraphicsProfile. If initialization failed, than GraphicsProfileRejected event will be fired and a GraphicsProfileRejectedReason will be specified in the event args. After that the next GraphicsProfile from this array is initialized. If it also fails than another GraphicsProfile is used.

When no GraphicsProfile can be initialized, than DXSceneInitializationException is thrown.

By default the GraphicsProfiles array is set to the following GraphicsProfiles:
NormalQualityHardwareRendering,
NormalQualitySoftwareRendering,
Wpf3D

The default settings means that DXView will first try to use the high quality hardware rendering. If this cannot be used, than high performance software rendering will be used. If even that cannot be used, WPF 3D will be used.

See Also