Click or drag to resize
DigitalRuneDRTextureImporterImport Method
Called by the XNA Framework when importing an texture file to be used as a game asset. This is the method called by the XNA Framework 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 TextureContent 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: TextureContent
Resulting game asset.
See Also