Esempio n. 1
0
        public virtual NativeWindowPair createWindow(string name)
        {
            NativeWindowPair ret = new NativeWindowPair((SwigDerivedClassHasMethod("createWindow", swigMethodTypes23) ? BitesPINVOKE.ApplicationContextBase_createWindowSwigExplicitApplicationContextBase__SWIG_3(swigCPtr, name) : BitesPINVOKE.ApplicationContextBase_createWindow__SWIG_3(swigCPtr, name)), true);

            if (BitesPINVOKE.SWIGPendingException.Pending)
            {
                throw BitesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public virtual NativeWindowPair createWindow(string name, uint w, uint h, NameValuePairList miscParams)
        {
            NativeWindowPair ret = new NativeWindowPair((SwigDerivedClassHasMethod("createWindow", swigMethodTypes20) ? BitesPINVOKE.ApplicationContextBase_createWindowSwigExplicitApplicationContextBase__SWIG_0(swigCPtr, name, w, h, NameValuePairList.getCPtr(miscParams)) : BitesPINVOKE.ApplicationContextBase_createWindow__SWIG_0(swigCPtr, name, w, h, NameValuePairList.getCPtr(miscParams))), true);

            if (BitesPINVOKE.SWIGPendingException.Pending)
            {
                throw BitesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public override NativeWindowPair createWindow(string name, uint w)
        {
            NativeWindowPair ret = new NativeWindowPair((SwigDerivedClassHasMethod("createWindow", swigMethodTypes22) ? BitesPINVOKE.ApplicationContext_createWindowSwigExplicitApplicationContext__SWIG_2(swigCPtr, name, w) : BitesPINVOKE.ApplicationContext_createWindow__SWIG_2(swigCPtr, name, w)), true);

            if (BitesPINVOKE.SWIGPendingException.Pending)
            {
                throw BitesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public override NativeWindowPair createWindow(string name, uint w, uint h, NameValuePairList miscParams)
        {
            miscParams["externalWindowHandle"] = ExternalWindowHandle.ToString();
            miscParams["vsync"]         = "False";
            miscParams["FSAA"]          = "2";
            miscParams["Multithreaded"] = "true";

            NativeWindowPair nwp = base.createWindow(name, w, h, miscParams);

            nwp.render.setAutoUpdated(false);
            return(nwp);
        }
Esempio n. 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NativeWindowPair obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 6
0
 private global::System.IntPtr SwigDirectorcreateWindow__SWIG_3(string name)
 {
     return(NativeWindowPair.getCPtr(createWindow(name)).Handle);
 }
Esempio n. 7
0
 private global::System.IntPtr SwigDirectorcreateWindow__SWIG_0(string name, uint w, uint h, global::System.IntPtr miscParams)
 {
     return(NativeWindowPair.getCPtr(createWindow(name, w, h, new NameValuePairList(miscParams, true))).Handle);
 }