Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IAssetCompiler.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Assets.Compiler
4 {
5  /// <summary>
6  /// Main interface for compiling an <see cref="Asset"/>.
7  /// </summary>
8  public interface IAssetCompiler
9  {
10  /// <summary>
11  /// Compiles a list of assets from the specified package.
12  /// </summary>
13  /// <param name="context"></param>
14  /// <param name="assetItem">The asset reference.</param>
15  /// <returns>The result of the compilation.</returns>
16  AssetCompilerResult Compile(CompilerContext context, AssetItem assetItem);
17  }
18 }
Result of a compilation of assets when using IAssetCompiler.Compile
The context used when compiling an asset in a Package.
An asset item part of a Package accessible through SiliconStudio.Assets.Package.Assets.
Definition: AssetItem.cs:17
Main interface for compiling an Asset.