public virtual void SetBeforeRenderCallback(SWIGTYPE_p_RENDER_CALLBACK cbk, SWIGTYPE_p_void user) { IronSightEnginePINVOKE.IObject_SetBeforeRenderCallback(swigCPtr, SWIGTYPE_p_RENDER_CALLBACK.getCPtr(cbk), SWIGTYPE_p_void.getCPtr(user)); if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_RENDER_CALLBACK obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }