public CompositorInstance addCompositor(CompositorPtr filter) { global::System.IntPtr cPtr = OgrePINVOKE.CompositorChain_addCompositor__SWIG_2(swigCPtr, CompositorPtr.getCPtr(filter)); CompositorInstance ret = (cPtr == global::System.IntPtr.Zero) ? null : new CompositorInstance(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CompositorPtr(CompositorPtr r) : this(OgrePINVOKE.new_CompositorPtr__SWIG_2(CompositorPtr.getCPtr(r)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }