共用方式為


PassThroughProcessor Class

Note

This class is available only when developing for Windows.

Provides an implementation of a no-operation processor that returns an unmodified copy of the input data.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

[ContentProcessorAttribute]
public class PassThroughProcessor : ContentProcessor<Object, Object>

Remarks

PassThroughProcessor is useful when the importer is already producing data in a game ready format. This can occur after importing textures from DDS files that have been formatted using an external tool, or when deserializing game logic data from XML using the intermediate XML importer.

See Also

Reference

PassThroughProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP