Example #1
0
 public VtValue(SdfAssetPath obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_23(SdfAssetPath.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void push_back(SdfAssetPath elem)
 {
     UsdCsPINVOKE.SdfAssetPathArray_push_back(swigCPtr, SdfAssetPath.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void SetColorConfiguration(SdfAssetPath colorConfig)
 {
     UsdCsPINVOKE.UsdStageWeakPtr_SetColorConfiguration(swigCPtr, SdfAssetPath.getCPtr(colorConfig));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 protected void SetValue(int index, SdfAssetPath value)
 {
     UsdCsPINVOKE.SdfAssetPathArray_SetValue(swigCPtr, index, SdfAssetPath.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void assign(uint n, SdfAssetPath fill)
 {
     UsdCsPINVOKE.SdfAssetPathArray_assign(swigCPtr, n, SdfAssetPath.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void SetAssetIdentifier(SdfAssetPath identifier)
 {
     UsdCsPINVOKE.UsdModelAPI_SetAssetIdentifier(swigCPtr, SdfAssetPath.getCPtr(identifier));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
        public bool GetSourceAsset(SdfAssetPath sourceAsset, TfToken sourceType)
        {
            bool ret = UsdCsPINVOKE.UsdShadeShader_GetSourceAsset__SWIG_0(swigCPtr, SdfAssetPath.getCPtr(sourceAsset), TfToken.getCPtr(sourceType));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public bool SetSourceAsset(SdfAssetPath sourceAsset)
        {
            bool ret = UsdCsPINVOKE.UsdShadeShader_SetSourceAsset__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(sourceAsset));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public static bool Equals(SdfAssetPath lhs, SdfAssetPath rhs)
        {
            bool ret = UsdCsPINVOKE.SdfAssetPath_Equals(SdfAssetPath.getCPtr(lhs), SdfAssetPath.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public bool GetSourceAsset(SdfAssetPath sourceAsset)
        {
            bool ret = UsdCsPINVOKE.UsdShadeShader_GetSourceAsset__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(sourceAsset));

            return(ret);
        }
Example #11
0
        public NdrNode GetNodeFromAsset(SdfAssetPath asset, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeFromAsset(swigCPtr, SdfAssetPath.getCPtr(asset), SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #12
0
        public bool SetClipManifestAssetPath(SdfAssetPath manifestAssetPath)
        {
            bool ret = UsdCsPINVOKE.UsdClipsAPI_SetClipManifestAssetPath__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(manifestAssetPath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public SdfAssetPathArray(uint n, SdfAssetPath value) : this(UsdCsPINVOKE.new_SdfAssetPathArray__SWIG_4(n, SdfAssetPath.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #14
0
        public SdrShaderNode GetShaderNodeFromAsset(SdfAssetPath shaderAsset)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdrRegistry_GetShaderNodeFromAsset__SWIG_3(swigCPtr, SdfAssetPath.getCPtr(shaderAsset));
            SdrShaderNode         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #15
0
        public SdrShaderNode GetShaderNodeFromAsset(SdfAssetPath shaderAsset, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata, TfToken subIdentifier)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdrRegistry_GetShaderNodeFromAsset__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(shaderAsset), SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata), TfToken.getCPtr(subIdentifier));
            SdrShaderNode         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #16
0
        public bool GetAssetIdentifier(SdfAssetPath identifier)
        {
            bool ret = UsdCsPINVOKE.UsdModelAPI_GetAssetIdentifier(swigCPtr, SdfAssetPath.getCPtr(identifier));

            return(ret);
        }
Example #17
0
        public bool GetClipManifestAssetPath(SdfAssetPath manifestAssetPath)
        {
            bool ret = UsdCsPINVOKE.UsdClipsAPI_GetClipManifestAssetPath__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(manifestAssetPath));

            return(ret);
        }
 public SdfAssetPathArray(Vt_ArrayForeignDataSource foreignSrc, SdfAssetPath data, uint size) : this(UsdCsPINVOKE.new_SdfAssetPathArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), SdfAssetPath.getCPtr(data), size), true)
 {
 }