[This is preliminary documentation and is subject to change.]

Provides various interop related utility methods.

Namespace: org.critterai.interop
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static class UtilEx
Public NotInheritable Class UtilEx
public ref class UtilEx abstract sealed

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Copy(IntPtr, array<UInt16>[]()[][], Int32)
Copies data from an unmanaged memory pointer to a ushort array.
Copy(IntPtr, array<UInt32>[]()[][], Int32)
Copies data from an unmanaged memory pointer to a uint array.
Copy(array<UInt16>[]()[][], Int32, IntPtr, Int32)
Copies the content of a one-dimentional array to an unmanaged memory pointer.
Copy(array<UInt32>[]()[][], Int32, IntPtr, Int32)
Copies the content of a one-dimentional array to an unmanaged memory pointer.
ExtractArrayByte(IntPtr, Int32)
Returns an array filled from an unmanaged memory buffer.
ExtractArrayFloat(IntPtr, Int32)
Returns an array filled from an unmanaged memory buffer.
ExtractArrayInt(IntPtr, Int32)
Returns an array filled from an unmanaged memory buffer.
ExtractArrayUInt(IntPtr, Int32)
Returns an array filled from an unmanaged memory buffer.
ExtractArrayUShort(IntPtr, Int32)
Returns an array filled from an unmanaged memory buffer.
GetBuffer(Int32, Boolean)
Gets a pointer to an allocated umanaged memory buffer.
GetFilledBuffer(array<Byte>[]()[][], Int32)
Gets a pointer to an unmanaged memory buffer filled from an array.
GetFilledBuffer(array<Int32>[]()[][], Int32)
Gets a pointer to an unmanaged memory buffer filled from an array.
GetFilledBuffer(array<Single>[]()[][], Int32)
Gets a pointer to an unmanaged memory buffer filled from an array.
GetFilledBuffer(array<UInt16>[]()[][], Int32)
Gets a pointer to an unmanaged memory buffer filled from an array.
GetFilledBuffer(array<UInt32>[]()[][], Int32)
Gets a pointer to an unmanaged memory buffer filled from an array.
ZeroMemory(IntPtr, Int32)
Zeros the memory of an allocated unmanaged memory buffer.

Inheritance Hierarchy

System..::..Object
  org.critterai.interop..::..UtilEx

See Also