public bool canHandleRequest(SWIGTYPE_p_Ogre__WorkQueue__Request req, SWIGTYPE_p_Ogre__WorkQueue srcQ)
        {
            bool ret = OgrePINVOKE.ResourceBackgroundQueue_canHandleRequest(swigCPtr, SWIGTYPE_p_Ogre__WorkQueue__Request.getCPtr(req), SWIGTYPE_p_Ogre__WorkQueue.getCPtr(srcQ));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SWIGTYPE_p_Ogre__WorkQueue__Response handleRequest(SWIGTYPE_p_Ogre__WorkQueue__Request req, SWIGTYPE_p_Ogre__WorkQueue srcQ)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.ResourceBackgroundQueue_handleRequest(swigCPtr, SWIGTYPE_p_Ogre__WorkQueue__Request.getCPtr(req), SWIGTYPE_p_Ogre__WorkQueue.getCPtr(srcQ));
            SWIGTYPE_p_Ogre__WorkQueue__Response ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__WorkQueue__Response(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__WorkQueue__Request obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }