Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
NShaderSupportedExtensions.cs
Go to the documentation of this file.
1 #region Header Licence
2 // ---------------------------------------------------------------------
3 //
4 // Copyright (c) 2009 Alexandre Mutel and Microsoft Corporation.
5 // All rights reserved.
6 //
7 // This code module is part of NShader, a plugin for visual studio
8 // to provide syntax highlighting for shader languages (hlsl, glsl, cg)
9 //
10 // ------------------------------------------------------------------
11 //
12 // This code is licensed under the Microsoft Public License.
13 // See the file License.txt for the license details.
14 // More info on: http://nshader.codeplex.com
15 //
16 // ------------------------------------------------------------------
17 #endregion
18 namespace NShader
19 {
20  /// <summary>
21  /// Supported extensions. Loaded by NShaderScannerFactory.
22  /// WARNING, you need also to add those extensions manually to NShader.cs and NShader.pkgdef!
23  /// </summary>
25  {
26  // HLSL file extensions
27  public const string HLSL_FX = ".fx";
28  public const string HLSL_FXH = ".fxh";
29  public const string HLSL_HLSL = ".hlsl";
30  public const string HLSL_VSH = ".vsh";
31  public const string HLSL_PSH = ".psh";
32  public const string SL_FX = ".slfx";
33 
34  // GLSL file extensions
35  public const string GLSL_FRAG = ".frag";
36  public const string GLSL_VERT = ".vert";
37  public const string GLSL_FP = ".fp";
38  public const string GLSL_VP = ".vp";
39  public const string GLSL_GEOM = ".geom";
40  public const string GLSL_GLSL = ".glsl";
41 
42  // CG file extensions
43  public const string CG_CG = ".cg";
44  public const string CG_CGFX = ".cgfx";
45 
46  // Paradox file extensions
47  public const string Paradox_Shader = ".pdxsl";
48  public const string Paradox_Effect = ".pdxfx";
49  }
50 }
Supported extensions. Loaded by NShaderScannerFactory. WARNING, you need also to add those extensions...