Click or drag to resize
DigitalRuneDRModelProcessorOnBuildMaterial Method
Called by the framework when a material asset needs to be built.

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<DRMaterialContent> OnBuildMaterial(
	ExternalReference<DRMaterialContent> material,
	ContentProcessorContext context
)

Parameters

material
Type: ExternalReferenceDRMaterialContent
The material asset.
context
Type: ContentProcessorContext
The context of this processor.

Return Value

Type: ExternalReferenceDRMaterialContent
A reference to the processed material.
Remarks
This method is called when the model uses a material defined in an XML file.
See Also