Exemplo n.º 1
0
        public RenderWindow createRenderWindow(RenderWindowDescription desc)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.Root_createRenderWindow__SWIG_2(swigCPtr, RenderWindowDescription.getCPtr(desc));
            RenderWindow          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new RenderWindow(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RenderWindowDescription obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }