public virtual Result CreateLight(ILight.LightType type, SWIGTYPE_p_p_ILight light) { Result ret = new Result(IronSightEnginePINVOKE.IDirect3D_CreateLight(swigCPtr, (int)type, SWIGTYPE_p_p_ILight.getCPtr(light)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_ILight obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }