Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectParameterResourceData.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 System.Diagnostics;
4 using SiliconStudio.Core;
5 using SiliconStudio.Core.Serialization;
6 using SiliconStudio.Paradox.Graphics;
7 
8 namespace SiliconStudio.Paradox.Shaders
9 {
10  /// <summary>
11  /// Describes a shader parameter for a resource type.
12  /// </summary>
13  [DataContract]
14  [DebuggerDisplay("[{Stage}] {Param.Class} {Param.Key} -> {Param.RawName}")]
16  {
17  /// <summary>
18  /// The common description of this parameter.
19  /// </summary>
21 
22  /// <summary>
23  /// The stage this parameter is used
24  /// </summary>
26 
27  /// <summary>
28  /// The starting slot this parameter is bound.
29  /// </summary>
30  public int SlotStart;
31 
32  /// <summary>
33  /// The number of slots bound to this parameter starting at <see cref="SlotStart"/>.
34  /// </summary>
35  public int SlotCount;
36  }
37 }
int SlotCount
The number of slots bound to this parameter starting at SlotStart.
Describes a shader parameter for a resource type.
EffectParameterData Param
The common description of this parameter.
ShaderStage
Enum to specify shader stage.
Definition: ShaderStage.cs:12
int SlotStart
The starting slot this parameter is bound.