Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Buffer.Null.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 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_NULL
4 using System;
5 
6 namespace SiliconStudio.Paradox.Graphics
7 {
8  public partial class Buffer
9  {
10  /// <summary>
11  /// Initializes a new instance of the <see cref="Buffer" /> class.
12  /// </summary>
13  /// <param name="device">The <see cref="GraphicsDevice"/>.</param>
14  /// <param name="description">The description.</param>
15  /// <param name="bufferFlags">Type of the buffer.</param>
16  /// <param name="viewFormat">The view format.</param>
17  /// <param name="dataPointer">The data pointer.</param>
18  protected Buffer(GraphicsDevice device, BufferDescription description, BufferFlags bufferFlags, PixelFormat viewFormat, IntPtr dataPointer) : base(device)
19  {
20  Description = description;
21  BufferFlags = bufferFlags;
22  ViewFormat = viewFormat;
23  //InitCountAndViewFormat(out this.elementCount, ref ViewFormat);
24  //Initialize(device.RootDevice, null);
25  }
26  }
27 }
28 
29 #endif
SiliconStudio.Paradox.Graphics.Buffer Buffer
Definition: BasicEffect.cs:15
PixelFormat
Defines various types of pixel formats.
Definition: PixelFormat.cs:32