Click or drag to resize
DigitalRuneDRMaterialImporterImport Method
Called by the framework when importing a game asset. This is the method called by XNA when an asset is to be imported into an object that can be recognized by the Content Pipeline.

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
public override DRMaterialContent Import(
	string filename,
	ContentImporterContext context
)

Parameters

filename
Type: SystemString
Name of a game asset file.
context
Type: ContentImporterContext
Contains information for importing a game asset, such as a logger interface.

Return Value

Type: DRMaterialContent
Resulting game asset.
See Also