Click or drag to resize
DigitalRuneEffectTechniqueBindingOnGetTechnique Method
Called when the effect technique that should be used for rendering should be returned.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected virtual EffectTechnique OnGetTechnique(
	Effect effect,
	RenderContext context
)

Parameters

effect
Type: Effect
The effect.
context
Type: DigitalRune.GraphicsRenderContext
The render context.

Return Value

Type: EffectTechnique
The effect technique that should be used for rendering.
Remarks
Notes to Inheritors:
This method can be overridden in derived classes. The base implementation always returns the first technique found in effect.
See Also