Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
BufferFlags.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;
4 using SiliconStudio.Core;
5 
6 namespace SiliconStudio.Paradox.Graphics
7 {
8  [Flags]
9  [DataContract]
10  public enum BufferFlags
11  {
12  /// <summary>
13  /// Creates a none buffer.
14  /// </summary>
15  /// <remarks>
16  /// This is equivalent to <see cref="BindFlags.None"/>.
17  /// </remarks>
18  None = 0,
19 
20  /// <summary>
21  /// Creates a constant buffer.
22  /// </summary>
23  ConstantBuffer = 1,
24 
25  /// <summary>
26  /// Creates an index buffer.
27  /// </summary>
28  IndexBuffer = 2,
29 
30  /// <summary>
31  /// Creates a vertex buffer.
32  /// </summary>
33  VertexBuffer = 4,
34 
35  /// <summary>
36  /// Creates a render target buffer.
37  /// </summary>
38  RenderTarget = 8,
39 
40  /// <summary>
41  /// Creates a buffer usable as a ShaderResourceView.
42  /// </summary>
43  ShaderResource = 16,
44 
45  /// <summary>
46  /// Creates an unordered access buffer.
47  /// </summary>
48  UnorderedAccess = 32,
49 
50  /// <summary>
51  /// Creates a structured buffer.
52  /// </summary>
53  StructuredBuffer = 64,
54 
55  /// <summary>
56  /// Creates a structured buffer that supports unordered acccess and append.
57  /// </summary>
59 
60  /// <summary>
61  /// Creates a structured buffer that supports unordered acccess and counter.
62  /// </summary>
64 
65  /// <summary>
66  /// Creates a raw buffer.
67  /// </summary>
68  RawBuffer = 512,
69 
70  /// <summary>
71  /// Creates an indirect arguments buffer.
72  /// </summary>
73  ArgumentBuffer = 1024
74  }
75 }
SiliconStudio.Shaders.Ast.Hlsl.ConstantBuffer ConstantBuffer
Creates a structured buffer that supports unordered acccess and append.
Creates an unordered access buffer.
Flags
Enumeration of the new Assimp's flags.
Creates an indirect arguments buffer.
Creates a buffer usable as a ShaderResourceView.
Creates a structured buffer that supports unordered acccess and counter.