Interface IContentFileCache
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
An interface for storing information about the compiled content.
public interface IContentFileCache
Methods
AddDependency(ContentBuilder, IContentFileCache)
Adds the specified file cache as a dependency related to the current content file.
void AddDependency(ContentBuilder builder, IContentFileCache fileCache)
Parameters
builderContentBuilderA ContentBuilder the added depedency is related to.
fileCacheIContentFileCacheA dependent file cache.
AddDependency(ContentBuilder, string)
Adds the specified file as a dependency related to the current content file.
void AddDependency(ContentBuilder builder, string dependencyPath)
Parameters
builderContentBuilderA ContentBuilder the added depedency is related to.
dependencyPathstringA relative or absolute path to the dependency file.
AddOutputFile(ContentBuilder, string)
Adds the specified file as an output file related to the current content file.
void AddOutputFile(ContentBuilder builder, string outputPath)
Parameters
builderContentBuilderA ContentBuilder the output file is related to.
outputPathstringA relative or absolute path to the output file.
IsValid(ContentBuilder, ContentInfo)
bool IsValid(ContentBuilder builder, ContentInfo info)
Parameters
builderContentBuilderA ContentBuilder the added depedency is related to.
infoContentInfoA ContentInfo for which to use to check the validity of the cached asset.
Returns
- bool
trueif the file cache is still valid,falseotherwise.