Click or drag to resize
AB4D logo

DXDiagnosticsIsResourceTrackingEnabled Property

Gets or sets a Boolean that specifies if DirectX resources construction and disposal is tracked with DXEngine. After resource tracing is enabled, you can get the report by calling GetTrackedResourcesReport(Boolean) method. Default value if false.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static bool IsResourceTrackingEnabled { get; set; }

Property Value

Boolean
Remarks

IsResourceTrackingEnabled gets or sets a Boolean that specifies if DirectX resources construction and disposal is tracked with DXEngine.

To get a more detailed information about COM object construction and destruction it is possible to use ObjectTracker from SharpDX. To enable it set the SharpDX.Configuration.EnableObjectTracking to true. Then call the SharpDX.Diagnostics.ObjectTracker.ReportActiveObjects() method to get report of live object and the call stack to their construction.

See Also