예제 #1
0
        public bool Erase(SWIGTYPE_p_UsdStageCache__Id id)
        {
            bool ret = UsdCsPINVOKE.UsdStageCache_Erase__SWIG_0(swigCPtr, SWIGTYPE_p_UsdStageCache__Id.getCPtr(id));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public SWIGTYPE_p_UsdStageCache__Id Insert(UsdStage stage)
        {
            SWIGTYPE_p_UsdStageCache__Id ret = new SWIGTYPE_p_UsdStageCache__Id(UsdCsPINVOKE.UsdStageCache_Insert(swigCPtr, UsdStage.getCPtr(stage)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public UsdStage Find(SWIGTYPE_p_UsdStageCache__Id id)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdStageCache_Find(swigCPtr, SWIGTYPE_p_UsdStageCache__Id.getCPtr(id));
            UsdStage ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdStage(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_UsdStageCache__Id obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }