public void addOverlayElementFactory(OverlayElementFactory elemFactory) { OgreOverlayPINVOKE.OverlayManager_addOverlayElementFactory(swigCPtr, OverlayElementFactory.getCPtr(elemFactory)); if (OgreOverlayPINVOKE.SWIGPendingException.Pending) { throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OverlayElementFactory obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }