Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectShaderAsset.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 using SiliconStudio.Assets;
4 using SiliconStudio.Assets.Compiler;
5 using SiliconStudio.Core;
6 
7 namespace SiliconStudio.Paradox.Assets.Effect
8 {
9  /// <summary>
10  /// Describes a shader effect asset (pdxsl).
11  /// </summary>
12  [DataContract("EffectShader")]
13  [AssetFileExtension(FileExtension)]
14  [AssetCompiler(typeof(EffectShaderAssetCompiler))]
15  [AssetDescription("Effect Shader", "An effect shader", false)]
16  public sealed class EffectShaderAsset : SourceCodeAsset
17  {
18  /// <summary>
19  /// The default file extension used by the <see cref="EffectLibraryAsset"/>.
20  /// </summary>
21  public const string FileExtension = ".pdxsl";
22 
23  /// <summary>
24  /// Initializes a new instance of the <see cref="EffectLibraryAsset"/> class.
25  /// </summary>
27  {
28  }
29  }
30 }
Describes a shader effect asset (pdxsl).
Contains user-friendly names and descriptions of an asset type.
EffectShaderAsset()
Initializes a new instance of the EffectLibraryAsset class.