Click or drag to resize
DigitalRuneMaterialAdd Method
Adds an effect binding for the specified render pass to the material.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Add(
	string pass,
	EffectBinding effectBinding
)

Parameters

pass
Type: SystemString
The render pass.
effectBinding
Type: DigitalRune.Graphics.EffectsEffectBinding
The effect binding.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptioneffectBinding is .
ArgumentException There is already an effect binding registered for the same render pass.
See Also