Click or drag to resize
DigitalRuneEffectBindingOnInitializeBindings Method
Called when the effect technique and parameter bindings should be initialized.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected virtual void OnInitializeBindings(
	IGraphicsService graphicsService,
	IDictionary<string, Object> opaqueData
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
opaqueData
Type: System.Collections.GenericIDictionaryString, Object
The opaque data. Can be .
Remarks

Notes to Inheritors: Derived classes can override this method to create custom parameter bindings. If the derived class does not initialize all parameter bindings then it should call the base implementation of OnInitializeBindings(IGraphicsService, IDictionaryString, Object) to initialize the remaining bindings.

The method is called by the constructor of the base class. This means that derived classes may not be initialized yet!

See Also