Click or drag to resize
AB4D logo

DXDeviceResourcesCache Field

Gets or sets an IDisposable object that can be used for caching the resources created on this DXDevice. This property is used by DXViewportView to cache WpfMaterial, DXMeshGeometry3D and SceneNodes objects created from WPF objects. It is not recommended to set this property to any other value.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public IDisposable ResourcesCache

Field Value

IDisposable
Remarks

ResourcesCache gets or sets an IDisposable object that can be used for caching the resources created on this DXDevice.

This property is used by DXViewportView to cache WpfMaterial, DXMeshGeometry3D and SceneNodes objects created from WPF objects.

When using cached objects, the same DXEngine's object is used for one WPF material object even if the material is used on many different GeometryModel3D objects; when caching is not used, each instance of GeometryModel3D object use its own instance of DXEngine's material object.

It is not recommended to set this property to some other value because this will disable caching of DXEngine objects created from WPF objects.

See Also