Example #1
0
 public void SetGraph(SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__RefPtr graph)
 {
     UsdCsPINVOKE.PcpPrimIndex_SetGraph(swigCPtr, SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__RefPtr.getCPtr(graph));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__RefPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }