|
ExtensionsClearUsedDXMaterial 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.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public static void ClearUsedDXMaterial(
this Material wpfMaterial,
DXDevice parentDXDevice
)
Parameters
- wpfMaterial Material
- WPF Material
- parentDXDevice DXDevice
- DXDevice that was used to generate the dxMaterial
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Material. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also