コード例 #1
0
 public void handleResponse(SWIGTYPE_p_Ogre__WorkQueue__Response res, SWIGTYPE_p_Ogre__WorkQueue srcQ)
 {
     OgrePINVOKE.ResourceBackgroundQueue_handleResponse(swigCPtr, SWIGTYPE_p_Ogre__WorkQueue__Response.getCPtr(res), SWIGTYPE_p_Ogre__WorkQueue.getCPtr(srcQ));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: Root.cs プロジェクト: wellsanin1/Game-Engine
 public void setWorkQueue(SWIGTYPE_p_Ogre__WorkQueue queue)
 {
     OgrePINVOKE.Root_setWorkQueue(swigCPtr, SWIGTYPE_p_Ogre__WorkQueue.getCPtr(queue));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
        public bool canHandleResponse(SWIGTYPE_p_Ogre__WorkQueue__Response res, SWIGTYPE_p_Ogre__WorkQueue srcQ)
        {
            bool ret = OgrePINVOKE.ResourceBackgroundQueue_canHandleResponse(swigCPtr, SWIGTYPE_p_Ogre__WorkQueue__Response.getCPtr(res), SWIGTYPE_p_Ogre__WorkQueue.getCPtr(srcQ));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
ファイル: Root.cs プロジェクト: wellsanin1/Game-Engine
        public SWIGTYPE_p_Ogre__WorkQueue getWorkQueue()
        {
            global::System.IntPtr      cPtr = OgrePINVOKE.Root_getWorkQueue(swigCPtr);
            SWIGTYPE_p_Ogre__WorkQueue ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__WorkQueue(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        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);
        }
コード例 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__WorkQueue obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }