| AlphaTestEffectBindingOnInitializeBindings Method |
Called when the effect technique and parameter bindings should be initialized.
Namespace: DigitalRune.Graphics.EffectsAssembly: 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
)
Protected Overrides Sub OnInitializeBindings (
graphicsService As IGraphicsService,
opaqueData As IDictionary(Of String, Object)
)
protected:
virtual void OnInitializeBindings(
IGraphicsService^ graphicsService,
IDictionary<String^, Object^>^ opaqueData
) override
abstract OnInitializeBindings :
graphicsService : IGraphicsService *
opaqueData : IDictionary<string, Object> -> unit
override OnInitializeBindings :
graphicsService : IGraphicsService *
opaqueData : IDictionary<string, Object> -> unit
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