Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DataPointer.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 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  public struct DataPointer
8  {
9  public unsafe DataPointer(void* pointer, int size)
10  {
11  Pointer = (IntPtr)pointer;
12  Size = size;
13  }
14 
15  public DataPointer(IntPtr pointer, int size)
16  {
17  Pointer = pointer;
18  Size = size;
19  }
20 
21  public IntPtr Pointer;
22 
23  public int Size;
24  }
25 }
DataPointer(IntPtr pointer, int size)
Definition: DataPointer.cs:15
unsafe DataPointer(void *pointer, int size)
Definition: DataPointer.cs:9
_In_ size_t _In_ size_t size
Definition: DirectXTexP.h:175