| MaterialAdd Method |
Adds an effect binding for the specified render pass to the material.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Add(
string pass,
EffectBinding effectBinding
)
Public Sub Add (
pass As String,
effectBinding As EffectBinding
)
public:
virtual void Add(
String^ pass,
EffectBinding^ effectBinding
) sealed
abstract Add :
pass : string *
effectBinding : EffectBinding -> unit
override Add :
pass : string *
effectBinding : EffectBinding -> unit
Parameters
- pass
- Type: SystemString
The render pass. - effectBinding
- Type: DigitalRune.Graphics.EffectsEffectBinding
The effect binding.
Implements
IDictionaryTKey, TValueAdd(TKey, TValue)Exceptions See Also