public static UsdZipFile Open(string filePath) { UsdZipFile ret = new UsdZipFile(UsdCsPINVOKE.UsdZipFile_Open__SWIG_0(filePath), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdZipFile Open(SWIGTYPE_p_std__shared_ptrT_ArAsset_t asset) { UsdZipFile ret = new UsdZipFile(UsdCsPINVOKE.UsdZipFile_Open__SWIG_1(SWIGTYPE_p_std__shared_ptrT_ArAsset_t.getCPtr(asset)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdZipFile obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }