コード例 #1
0
 public void setType(CompositionPass.PassType type)
 {
     OgrePINVOKE.CompositionPass_setType(swigCPtr, (int)type);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public CompositionPass.PassType getType()
 {
     CompositionPass.PassType ret = (CompositionPass.PassType)OgrePINVOKE.CompositionPass_getType(swigCPtr);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
コード例 #3
0
        public CompositionPass createPass(CompositionPass.PassType type)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.CompositionTargetPass_createPass__SWIG_0(swigCPtr, (int)type);
            CompositionPass       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CompositionPass(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }