public virtual Result Init(D3dStartupSettings settings) { Result ret = new Result(IronSightEnginePINVOKE.IDirect3D_Init(swigCPtr, D3dStartupSettings.getCPtr(settings)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(D3dStartupSettings obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }