Click or drag to resize
DigitalRuneEffectTechniqueBindingGetTechnique Method
Gets the effect technique that should be used for rendering.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public EffectTechnique GetTechnique(
	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

This method is called immediately before an object is rendered using effect. The returned effect technique can set as the as the CurrentTechnique.

Notes to Inheritors: The method GetTechnique(Effect, RenderContext) calls OnGetTechnique(Effect, RenderContext), which can be overridden in derived classes.

See Also