Click or drag to resize
AB4D logo

DXDeviceResourcesCacheTryGetDXMaterial Method

Returns true and sets the dxMaterial parameter when the WPF material was cached in this DXDeviceResourcesCache. Otherwise returns false and sets dxMaterial to null.

Namespace: Ab3d.DirectX.Common
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public bool TryGetDXMaterial(
	Material material,
	out Material dxMaterial
)

Parameters

material  Material
WPF material
dxMaterial  Material
out: DXEngine's material

Return Value

Boolean
true when the WPF material was cached and the dxMaterial is set
See Also