Click or drag to resize
DigitalRuneMaterialRemove Method
Removes the effect binding for the specified render pass from the material.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public bool Remove(
	string pass
)

Parameters

pass
Type: SystemString
The render pass.

Return Value

Type: Boolean
if effect binding was successfully removed from the material; otherwise, . This method also returns if pass is not found in the original material.

Implements

IDictionaryTKey, TValueRemove(TKey)
Exceptions
ExceptionCondition
ArgumentNullExceptionpass is .
See Also