Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Tries to acquire a memory block. If current acquired count of `Buffer`_ does not reach maximum, a new `Buffer`_ is fetched or allocated, or else null is returned.
///</summary>
Tries to acquire a memory block. If current acquired count of `Buffer`_ does not reach maximum, a new `Buffer`_ is fetched or allocated, or else null is returned.
Tries to acquire a memory block . If current acquired count of ` Buffer ` _ does not reach maximum a new ` Buffer ` _ is fetched or allocated or else null is returned .
public virtual Optional<Buffer> tryAcquire()
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(Detail.OptionalOfBuffer);
                Detail.easyar_BufferPool_tryAcquire(cdata, out _return_value_);
                return _return_value_.map(p => p.has_value ? Detail.Object_from_c<Buffer>(p.value, Detail.easyar_Buffer__typeName) : Optional<Buffer>.Empty);
            }
        }
public virtual Optional < Buffer > tryAcquire ( ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( Detail . OptionalOfBuffer ) ; Detail . easyar_BufferPool_tryAcquire ( cdata , out _return_value_ ) ; return _return_value_ . map ( p => p . has_value ? Detail . Object_from_c < Buffer > ( p . value , Detail . easyar_Buffer__typeName ) : Optional < Buffer > . Empty ) ; } }
Tries to acquire a memory block.
Tries to acquire a memory block .