Click to Rate and Give Feedback

  Switch on low bandwidth view
XNA Game Studio 3.1
ContentImporterAttribute.CacheImportedData Property
Bb195208.note(en-us,XNAGameStudio.31).gifNote
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)

C#
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 XP SP2, Windows Vista
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker