Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectParameterType.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 
5 namespace SiliconStudio.Paradox.Shaders
6 {
7  /// <summary>
8  /// <p>Values that identify various data, texture, and buffer types that can be assigned to a shader variable.</p>
9  /// </summary>
10  [DataContract]
11  public enum EffectParameterType : byte
12  {
13  /// <summary>
14  /// <dd> <p>The variable is a void reference.</p> </dd>
15  /// </summary>
16  Void = unchecked((int)0),
17 
18  /// <summary>
19  /// <dd> <p>The variable is a boolean.</p> </dd>
20  /// </summary>
21  Bool = unchecked((int)1),
22 
23  /// <summary>
24  /// <dd> <p>The variable is an integer.</p> </dd>
25  /// </summary>
26  Int = unchecked((int)2),
27 
28  /// <summary>
29  /// <dd> <p>The variable is a floating-point number.</p> </dd>
30  /// </summary>
31  Float = unchecked((int)3),
32 
33  /// <summary>
34  /// <dd> <p>The variable is a string.</p> </dd>
35  /// </summary>
36  String = unchecked((int)4),
37 
38  /// <summary>
39  /// <dd> <p>The variable is a texture.</p> </dd>
40  /// </summary>
41  Texture = unchecked((int)5),
42 
43  /// <summary>
44  /// <dd> <p>The variable is a 1D texture.</p> </dd>
45  /// </summary>
46  Texture1D = unchecked((int)6),
47 
48  /// <summary>
49  /// <dd> <p>The variable is a 2D texture.</p> </dd>
50  /// </summary>
51  Texture2D = unchecked((int)7),
52 
53  /// <summary>
54  /// <dd> <p>The variable is a 3D texture.</p> </dd>
55  /// </summary>
56  Texture3D = unchecked((int)8),
57 
58  /// <summary>
59  /// <dd> <p>The variable is a texture cube.</p> </dd>
60  /// </summary>
61  TextureCube = unchecked((int)9),
62 
63  /// <summary>
64  /// <dd> <p>The variable is a sampler.</p> </dd>
65  /// </summary>
66  Sampler = unchecked((int)10),
67 
68  /// <summary>
69  /// <dd> <p>The variable is a sampler.</p> </dd>
70  /// </summary>
71  Sampler1D = unchecked((int)11),
72 
73  /// <summary>
74  /// <dd> <p>The variable is a sampler.</p> </dd>
75  /// </summary>
76  Sampler2D = unchecked((int)12),
77 
78  /// <summary>
79  /// <dd> <p>The variable is a sampler.</p> </dd>
80  /// </summary>
81  Sampler3D = unchecked((int)13),
82 
83  /// <summary>
84  /// <dd> <p>The variable is a sampler.</p> </dd>
85  /// </summary>
86  SamplerCube = unchecked((int)14),
87 
88  /// <summary>
89  /// <dd> <p>The variable is an unsigned integer.</p> </dd>
90  /// </summary>
91  UInt = unchecked((int)19),
92 
93  /// <summary>
94  /// <dd> <p>The variable is an 8-bit unsigned integer.</p> </dd>
95  /// </summary>
96  UInt8 = unchecked((int)20),
97 
98  /// <summary>
99  /// <dd> <p>The variable is a buffer.</p> </dd>
100  /// </summary>
101  Buffer = unchecked((int)25),
102 
103  /// <summary>
104  /// <dd> <p>The variable is a constant buffer.</p> </dd>
105  /// </summary>
106  ConstantBuffer = unchecked((int)26),
107 
108  /// <summary>
109  /// <dd> <p>The variable is a texture buffer.</p> </dd>
110  /// </summary>
111  TextureBuffer = unchecked((int)27),
112 
113  /// <summary>
114  /// <dd> <p>The variable is a 1D-texture array.</p> </dd>
115  /// </summary>
116  Texture1DArray = unchecked((int)28),
117 
118  /// <summary>
119  /// <dd> <p>The variable is a 2D-texture array.</p> </dd>
120  /// </summary>
121  Texture2DArray = unchecked((int)29),
122 
123  /// <summary>
124  /// <dd> <p>The variable is a 2D-multisampled texture.</p> </dd>
125  /// </summary>
126  Texture2DMultisampled = unchecked((int)32),
127 
128  /// <summary>
129  /// <dd> <p>The variable is a 2D-multisampled-texture array.</p> </dd>
130  /// </summary>
131  Texture2DMultisampledArray = unchecked((int)33),
132 
133  /// <summary>
134  /// <dd> <p>The variable is a texture-cube array.</p> </dd>
135  /// </summary>
136  TextureCubeArray = unchecked((int)34),
137 
138  /// <summary>
139  /// <dd> <p>The variable is a double precision (64-bit) floating-point number.</p> </dd>
140  /// </summary>
141  Double = unchecked((int)39),
142 
143  /// <summary>
144  /// <dd> <p>The variable is a 1D read-and-write texture.</p> </dd>
145  /// </summary>
146  RWTexture1D = unchecked((int)40),
147 
148  /// <summary>
149  /// <dd> <p>The variable is an array of 1D read-and-write textures.</p> </dd>
150  /// </summary>
151  RWTexture1DArray = unchecked((int)41),
152 
153  /// <summary>
154  /// <dd> <p>The variable is a 2D read-and-write texture.</p> </dd>
155  /// </summary>
156  RWTexture2D = unchecked((int)42),
157 
158  /// <summary>
159  /// <dd> <p>The variable is an array of 2D read-and-write textures.</p> </dd>
160  /// </summary>
161  RWTexture2DArray = unchecked((int)43),
162 
163  /// <summary>
164  /// <dd> <p>The variable is a 3D read-and-write texture.</p> </dd>
165  /// </summary>
166  RWTexture3D = unchecked((int)44),
167 
168  /// <summary>
169  /// <dd> <p>The variable is a read-and-write buffer.</p> </dd>
170  /// </summary>
171  RWBuffer = unchecked((int)45),
172 
173  /// <summary>
174  /// <dd> <p>The variable is a byte-address buffer.</p> </dd>
175  /// </summary>
176  ByteAddressBuffer = unchecked((int)46),
177 
178  /// <summary>
179  /// <dd> <p>The variable is a read-and-write byte-address buffer.</p> </dd>
180  /// </summary>
181  RWByteAddressBuffer = unchecked((int)47),
182 
183  /// <summary>
184  /// <dd> <p>The variable is a structured buffer. </p> <p>For more information about structured buffer, see the <strong>Remarks</strong> section.</p> </dd>
185  /// </summary>
186  StructuredBuffer = unchecked((int)48),
187 
188  /// <summary>
189  /// <dd> <p>The variable is a read-and-write structured buffer.</p> </dd>
190  /// </summary>
191  RWStructuredBuffer = unchecked((int)49),
192 
193  /// <summary>
194  /// <dd> <p>The variable is an append structured buffer.</p> </dd>
195  /// </summary>
196  AppendStructuredBuffer = unchecked((int)50),
197 
198  /// <summary>
199  /// <dd> <p>The variable is a consume structured buffer.</p> </dd>
200  /// </summary>
201  ConsumeStructuredBuffer = unchecked((int)51),
202  }
203 }
SiliconStudio.Shaders.Ast.Hlsl.ConstantBuffer ConstantBuffer
SiliconStudio.Paradox.Graphics.Buffer Buffer
Definition: BasicEffect.cs:15