Click or drag to resize
DigitalRuneDRMaterialProcessorOnBuildEffect Method
Builds effect content.

Namespace: DigitalRune.Graphics.Content.Pipeline
Assembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax
protected virtual ExternalReference<CompiledEffectContent> OnBuildEffect(
	ExternalReference<EffectContent> effect,
	ContentProcessorContext context
)

Parameters

effect
Type: ExternalReferenceEffectContent
An external reference to the effect content.
context
Type: ContentProcessorContext
Context for the specified processor.

Return Value

Type: ExternalReferenceCompiledEffectContent
A platform-specific compiled binary effect.
Remarks
If the input to process is of type EffectMaterialContent, this function will be called to request that the EffectContent be built. The EffectProcessor is used to process the EffectContent. Subclasses of MaterialProcessor can override this function to modify the parameters used to build EffectContent. For example, a different version of this function could request a different processor for the EffectContent.
See Also