コード例 #1
0
 public void registerCustomCompositionPass(string name, SWIGTYPE_p_Ogre__CustomCompositionPass customPass)
 {
     OgrePINVOKE.CompositorManager_registerCustomCompositionPass(swigCPtr, name, SWIGTYPE_p_Ogre__CustomCompositionPass.getCPtr(customPass));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public SWIGTYPE_p_Ogre__CustomCompositionPass getCustomCompositionPass(string name)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.CompositorManager_getCustomCompositionPass(swigCPtr, name);
            SWIGTYPE_p_Ogre__CustomCompositionPass ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__CustomCompositionPass(cPtr, false);

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