7 #ifndef PXR_USD_USD_SHADE_UTILS_H
8 #define PXR_USD_USD_SHADE_UTILS_H
50 static std::pair<TfToken, UsdShadeAttributeType>
110 bool shaderOutputsOnly =
false);
115 bool shaderOutputsOnly =
false);
static USDSHADE_API UsdShadeAttributeVector GetValueProducingAttributes(UsdShadeInput const &input, bool shaderOutputsOnly=false)
Find what is connected to an Input or Output recursively.
static USDSHADE_API std::pair< TfToken, UsdShadeAttributeType > GetBaseNameAndType(const TfToken &fullName)
static USDSHADE_API std::string GetPrefixForAttributeType(UsdShadeAttributeType sourceType)
GLint GLint GLsizei GLint GLenum GLenum type
static USDSHADE_API TfToken GetFullName(const TfToken &baseName, const UsdShadeAttributeType type)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static USDSHADE_API UsdShadeAttributeType GetType(const TfToken &fullName)
#define PXR_NAMESPACE_CLOSE_SCOPE
static USDSHADE_API SdfPath GetConnectedSourcePath(const UsdShadeConnectionSourceInfo &srcInfo)