  | 
WpfMaterialClearUsedDXMaterial Method | 
            Clears a cached DXEngine's Material that is used for the WPF material. This means that next time the WPF material will be used a new instance of DXEngine's Material will be created.
            
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntaxpublic static bool ClearUsedDXMaterial(
	Material wpfMaterial,
	DXDevice parentDXDevice
)
Parameters
- wpfMaterial  Material
 - WPF Material
 - parentDXDevice  DXDevice
 - DXDevice that was used to generate the dxMaterial
 
Return Value
BooleanReturns true if the cached DXEngine's material was found and removed for the specified wpfMaterial; returns false if cached DXEngine's material was not found
See Also