Class MemoryTools
Assembly: VIVE.OpenXR.dll
Methods
Declaration
public static void CopyFromRawMemory<T>(T[] array, IntPtr raw)
Parameters
Type |
Name |
Description |
T[] |
array |
|
IntPtr |
raw |
|
Type Parameters
Declaration
public static void CopyToRawMemory<T>(IntPtr raw, T[] array)
Parameters
Type |
Name |
Description |
IntPtr |
raw |
|
T[] |
array |
|
Type Parameters
Declaration
public static IntPtr MakeRawMemory<T>(T[] refArray)
Parameters
Type |
Name |
Description |
T[] |
refArray |
|
Returns
Type Parameters
Declaration
public static void ReleaseRawMemory(IntPtr ptr)
Parameters
Type |
Name |
Description |
IntPtr |
ptr |
|
Declaration
public static IntPtr ToIntPtr<T>(T[] array) where T : Enum
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Type Parameters