public void setType(CompositionPass.PassType type) { OgrePINVOKE.CompositionPass_setType(swigCPtr, (int)type); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public CompositionPass.PassType getType() { CompositionPass.PassType ret = (CompositionPass.PassType)OgrePINVOKE.CompositionPass_getType(swigCPtr); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }