26 namespace SiliconStudio.Core
31 internal sealed
class Interop
33 public static T Pin<T>(ref
T source) where T :
struct
35 throw new NotImplementedException();
38 public static T IncrementPinned<T>(
T source) where T :
struct
40 throw new NotImplementedException();
43 public static void Pin<T>(
T data) where T :
class
45 throw new NotImplementedException();
48 public static unsafe
void* Fixed<T>(ref
T data)
50 throw new NotImplementedException();
53 public static unsafe
void* FixedOut<T>(out
T data)
55 throw new NotImplementedException();
58 public static unsafe
void* Fixed<T>(
T[] data)
60 throw new NotImplementedException();
63 public static unsafe
void* Cast<T>(ref
T data) where T :
struct
65 throw new NotImplementedException();
68 public static unsafe
void* CastOut<T>(out
T data) where T :
struct
70 throw new NotImplementedException();
73 public static TCAST[] CastArray<TCAST, T>(
T[] arrayData)
77 throw new NotImplementedException();
80 public static unsafe
void memcpy(
void* pDest,
void* pSrc,
int count)
82 throw new NotImplementedException();
85 public static unsafe
void memset(
void* pDest, byte value,
int count)
87 throw new NotImplementedException();
90 public static unsafe
void* Read<T>(
void* pSrc, ref
T data) where T :
struct
92 throw new NotImplementedException();
95 public static unsafe
T ReadInline<T>(
void* pSrc) where T :
struct
97 throw new NotImplementedException();
100 public static unsafe
void WriteInline<T>(
void* pDest, ref
T data) where T :
struct
102 throw new NotImplementedException();
105 public static unsafe
void CopyInline<T>(ref
T data,
void* pSrc) where T :
struct
107 throw new NotImplementedException();
110 public static unsafe
void CopyInline<T>(
void* pDest, ref
T srcData)
112 throw new NotImplementedException();
115 public static unsafe
void CopyInlineOut<T>(out
T data,
void* pSrc)
117 throw new NotImplementedException();
120 public static unsafe
void* ReadOut<T>(
void* pSrc, out
T data) where T :
struct
122 throw new NotImplementedException();
125 public static unsafe
void* Read<T>(
void* pSrc,
T[] data,
int offset,
int count) where T :
struct
127 throw new NotImplementedException();
130 public static unsafe
void* Read2D<T>(
void* pSrc,
T[,] data,
int offset,
int count) where T :
struct
132 throw new NotImplementedException();
135 public static int SizeOf<T>()
137 throw new NotImplementedException();
140 public static unsafe
void* Write<T>(
void* pDest, ref
T data) where T :
struct
142 throw new NotImplementedException();
145 public static unsafe
void* Write<T>(
void* pDest,
T[] data,
int offset,
int count) where T :
struct
147 throw new NotImplementedException();
150 public static unsafe
void* Write2D<T>(
void* pDest,
T[,] data,
int offset,
int count) where T :
struct
152 throw new NotImplementedException();