Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShadowMapKeys.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 
4 using SiliconStudio.Paradox.Graphics;
5 
6 namespace SiliconStudio.Paradox.Effects.Modules
7 {
8 
9  /// <summary>
10  /// Keys used for shadow mapping.
11  /// </summary>
12  public static partial class ShadowMapKeys
13  {
14  /// <summary>
15  /// Depth sampling texture.
16  /// </summary>
17  public static readonly ParameterKey<Texture> DepthTexture = ParameterKeys.New<Texture>();
18 
19  /// <summary>
20  /// Final shadow map texture.
21  /// </summary>
22  public static readonly ParameterKey<Texture> Texture = ParameterKeys.New<Texture>();
23 
24  /// <summary>
25  /// Maximum distance used by a shadow map.
26  /// </summary>
27  public static readonly ParameterKey<float> DistanceMax = ParameterKeys.New(0.0f);
28  }
29 }
Key of an effect parameter.
Definition: ParameterKey.cs:15
Base class for texture resources.
Definition: Texture.cs:38