| EffectBinding Constructor (IGraphicsService, Effect, IDictionaryString, Object, EffectParameterHint) |
Initializes a new instance of the
EffectBinding class with the given settings.
Namespace: DigitalRune.Graphics.EffectsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public EffectBinding(
IGraphicsService graphicsService,
Effect effect,
IDictionary<string, Object> opaqueData,
EffectParameterHint hints
)
Public Sub New (
graphicsService As IGraphicsService,
effect As Effect,
opaqueData As IDictionary(Of String, Object),
hints As EffectParameterHint
)
public:
EffectBinding(
IGraphicsService^ graphicsService,
Effect^ effect,
IDictionary<String^, Object^>^ opaqueData,
EffectParameterHint hints
)
new :
graphicsService : IGraphicsService *
effect : Effect *
opaqueData : IDictionary<string, Object> *
hints : EffectParameterHint -> EffectBinding
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service. - effect
- Type: Effect
The effect. - opaqueData
- Type: System.Collections.GenericIDictionaryString, Object
The opaque data. Can be . - hints
- Type: DigitalRune.Graphics.EffectsEffectParameterHint
A bitwise combination of EffectParameterHint values. The value defines which
parameter bindings can be added to the effect binding.
Exceptions See Also