示例#1
0
 public SdrShaderNode(TfToken identifier, NdrVersion version, string name, TfToken family, TfToken context, TfToken sourceType, string definitionURI, string implementationURI, SWIGTYPE_p_std__vectorT_std__unique_ptrT_NdrProperty_t_t properties) : this(UsdCsPINVOKE.new_SdrShaderNode__SWIG_2(TfToken.getCPtr(identifier), NdrVersion.getCPtr(version), name, TfToken.getCPtr(family), TfToken.getCPtr(context), TfToken.getCPtr(sourceType), definitionURI, implementationURI, SWIGTYPE_p_std__vectorT_std__unique_ptrT_NdrProperty_t_t.getCPtr(properties)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public NdrNodeDiscoveryResult(TfToken identifier, NdrVersion version, string name, TfToken family, TfToken discoveryType, TfToken sourceType, string uri, string resolvedUri) : this(UsdCsPINVOKE.new_NdrNodeDiscoveryResult__SWIG_4(TfToken.getCPtr(identifier), NdrVersion.getCPtr(version), name, TfToken.getCPtr(family), TfToken.getCPtr(discoveryType), TfToken.getCPtr(sourceType), uri, resolvedUri), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public NdrNode(TfToken identifier, NdrVersion version, string name, TfToken family, TfToken context, TfToken sourceType, string uri, SWIGTYPE_p_std__vectorT_std__unique_ptrT_NdrProperty_t_t properties, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata) : this(UsdCsPINVOKE.new_NdrNode__SWIG_1(TfToken.getCPtr(identifier), NdrVersion.getCPtr(version), name, TfToken.getCPtr(family), TfToken.getCPtr(context), TfToken.getCPtr(sourceType), uri, SWIGTYPE_p_std__vectorT_std__unique_ptrT_NdrProperty_t_t.getCPtr(properties), SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public NdrNodeDiscoveryResult(TfToken identifier, NdrVersion version, string name, TfToken family, TfToken discoveryType, TfToken sourceType, string uri, string resolvedUri, string sourceCode, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata) : this(UsdCsPINVOKE.new_NdrNodeDiscoveryResult__SWIG_2(TfToken.getCPtr(identifier), NdrVersion.getCPtr(version), name, TfToken.getCPtr(family), TfToken.getCPtr(discoveryType), TfToken.getCPtr(sourceType), uri, resolvedUri, sourceCode, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static bool SplitShaderIdentifier(TfToken identifier, TfToken familyName, TfToken implementationName, NdrVersion version)
        {
            bool ret = UsdCsPINVOKE.UsdShadeShaderDefUtils_SplitShaderIdentifier(TfToken.getCPtr(identifier), TfToken.getCPtr(familyName), TfToken.getCPtr(implementationName), NdrVersion.getCPtr(version));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }