public new static UsdRiPxrRodLightFilter Define(UsdStageWeakPtr stage, SdfPath path) { UsdRiPxrRodLightFilter ret = new UsdRiPxrRodLightFilter(UsdCsPINVOKE.UsdRiPxrRodLightFilter_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdRiPxrRodLightFilter obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }