Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Wraps Java's java.nio.ByteBuffer, which must be a direct buffer.
///</summary>
Wraps Java's java.nio.ByteBuffer, which must be a direct buffer.
Wraps Java ' s java . nio . ByteBuffer which must be a direct buffer .
public static Buffer wrapBuffer(IntPtr directBuffer, Action deleter)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(IntPtr);
                Detail.easyar_JniUtility_wrapBuffer(directBuffer, Detail.FunctorOfVoid_to_c(deleter), out _return_value_);
                return Detail.Object_from_c<Buffer>(_return_value_, Detail.easyar_Buffer__typeName);
            }
        }
public static Buffer wrapBuffer ( IntPtr directBuffer , Action deleter ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( IntPtr ) ; Detail . easyar_JniUtility_wrapBuffer ( directBuffer , Detail . FunctorOfVoid_to_c ( deleter ) , out _return_value_ ) ; return Detail . Object_from_c < Buffer > ( _return_value_ , Detail . easyar_Buffer__typeName ) ; } }
Wraps Java's java.nio.ByteBuffer, which must be a direct buffer.
Wraps Java ' s java . nio . ByteBuffer which must be a direct buffer .
directBuffer
IntPtr
deleter
Action