Click or drag to resize
DigitalRuneDualTextureEffectBinding.OnInitializeBindings 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 override void OnInitializeBindings(
	IGraphicsService graphicsService,
	IDictionary<string, Object> opaqueData
)

Parameters

graphicsService
Type: DigitalRune.Graphics.IGraphicsService
The graphics service.
opaqueData
Type: System.Collections.Generic.IDictionary<String, Object>
The opaque data. Can be null.
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, IDictionary< String, 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