Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShaderStreamOutputDeclarationEntry.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.Core.Serialization;
5 
6 namespace SiliconStudio.Paradox.Shaders
7 {
8  /// <summary>
9  /// Description of a StreamOutput declaration entry.
10  /// </summary>
11  [DataContract]
13  {
14  /// <summary>
15  /// The stream index.
16  /// </summary>
17  public int Stream;
18 
19  /// <summary>
20  /// The semantic name.
21  /// </summary>
22  public string SemanticName;
23 
24  /// <summary>
25  /// The semantic index.
26  /// </summary>
27  public int SemanticIndex;
28 
29  /// <summary>
30  /// The start component
31  /// </summary>
32  public byte StartComponent;
33 
34  /// <summary>
35  /// The component count
36  /// </summary>
37  public byte ComponentCount;
38 
39  /// <summary>
40  /// The output slot
41  /// </summary>
42  public byte OutputSlot;
43  }
44 }
Description of a StreamOutput declaration entry.
byte OutputSlot
The output slot
byte ComponentCount
The component count
byte StartComponent
The start component
string SemanticName
The semantic name.
int Stream
The stream index.
int SemanticIndex
The semantic index.