Click or drag to resize
AB4D logo

DXDeviceResourcesCache Methods

The DXDeviceResourcesCache type exposes the following members.

Methods
 NameDescription
Public methodAddDXMaterial Adds the DXEngine's dxMaterial that was created from the WPF material to this DXDeviceResourcesCache.
Public methodAddDXMeshGeometry3D Adds the DXEngine's DXMeshGeometry3D that was created from the WPF MeshGeometry3D to this DXDeviceResourcesCache.
Public methodDispose Dispose
Public methodStatic memberGetDXDeviceResourcesCache Returns the DXDeviceResourcesCache for the specified dxDevice or create a new cache if it was not yet created for the DXDevice.
Public methodRemoveDXMaterial Removes the cached DXEngine's material for the specified WPF material.
Public methodRemoveDXMeshGeometry3D Removes the cached DXEngine's DXMeshGeometry3D for the specified WPF MeshGeometry3D.
Public methodTryGetDXMaterial Returns true and sets the dxMaterial parameter when the WPF material was cached in this DXDeviceResourcesCache. Otherwise returns false and sets dxMaterial to null.
Public methodTryGetDXMeshGeometry3D Returns true and sets the dxMeshGeometry3D parameter when the WPF MeshGeometry3D was cached in this DXDeviceResourcesCache. Otherwise returns false and sets dxMeshGeometry3D to null.
Top
See Also