Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShadowMapParameters.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.Core;
4 using SiliconStudio.Paradox.DataModel;
5 using SiliconStudio.Paradox.Engine;
6 using SiliconStudio.Paradox.Shaders;
7 
8 namespace SiliconStudio.Paradox.Effects
9 {
10  [DataContract]
12  {
13  /// <summary>
14  /// List of all the shadow map configurations.
15  /// </summary>
16  public static readonly ParameterKey<ShadowMapParameters[]> ShadowMaps = ParameterKeys.New<ShadowMapParameters[]>();
17 
18  /// <summary>
19  /// Filter type of the shadow map.
20  /// </summary>
21  public static readonly ParameterKey<LightType> LightType = ParameterKeys.New<LightType>();
22 
23  /// <summary>
24  /// Filter type of the shadow map.
25  /// </summary>
26  public static readonly ParameterKey<ShadowMapFilterType> FilterType = ParameterKeys.New<ShadowMapFilterType>();
27 
28  /// <summary>
29  /// Number of shadow maps.
30  /// </summary>
31  public static readonly ParameterKey<int> ShadowMapCount = ParameterKeys.New<int>(0);
32 
33  /// <summary>
34  /// number of shadow map cascades.
35  /// </summary>
36  public static readonly ParameterKey<int> ShadowMapCascadeCount = ParameterKeys.New<int>(4);
37 
38  /// <summary>
39  /// Name of the atlas.
40  /// </summary>
41  public static readonly ParameterKey<string> AtlasKey = ParameterKeys.New<string>();
42 
43  /// <summary>
44  /// The key to use to create shadow groups.
45  /// </summary>
46  /// <userdoc>
47  /// The supported shadow configurations.
48  /// </userdoc>
49  public static readonly ParameterKey<ShadowConfigurationArray> ShadowConfigurations = ParameterKeys.New<ShadowConfigurationArray>(null);
50  }
51 }
Key of an effect parameter.
Definition: ParameterKey.cs:15