ContentImporterAttribute.CacheImportedData Property

This property is available only when developing for Windows.
Gets and sets the caching of the content during importation.

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

public bool CacheImportedData { get; set; }

Property Value

If true, imported content is cached in an intermediate file (managed by XNA). By default, caching is not enabled.

Caching provides significantly faster iteration times when changing the processing code for a file format. A good example would be a third-party digital content creation (DCC) tool that needs to execute before importation can occur. However, caching is not appropriate for all importers—for example, caching bulky content that is quick to import, such as bitmap images.

Windows 7, Windows Vista, Windows XP

Community Additions