Compares the properties DepthCheck, DepthCheckFunction and DepthWrite of this instance with the reference material m.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool CompareDepthMode(
	XMaterial m
)

Parameters

m
Type: SGP.XSpace..::.XMaterial
The reference XMaterial material.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if both instances have equal values of the given properties.

Exceptions

ExceptionCondition
System..::.ArgumentNullException m is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also