HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
materialParamUtils.h File Reference
+ Include dependency graph for materialParamUtils.h:

Go to the source code of this file.

Functions

USDIMAGING_API void UsdImagingBuildHdMaterialNetworkFromTerminal (UsdPrim const &usdTerminal, TfToken const &terminalIdentifier, TfTokenVector const &shaderSourceTypes, TfTokenVector const &renderContexts, HdMaterialNetworkMap *materialNetworkMap, UsdTimeCode time)
 
USDIMAGING_API bool UsdImagingIsHdMaterialNetworkTimeVarying (UsdPrim const &usdTerminal)
 

Function Documentation

USDIMAGING_API void UsdImagingBuildHdMaterialNetworkFromTerminal ( UsdPrim const usdTerminal,
TfToken const terminalIdentifier,
TfTokenVector const shaderSourceTypes,
TfTokenVector const renderContexts,
HdMaterialNetworkMap materialNetworkMap,
UsdTimeCode  time 
)

Builds an HdMaterialNetwork for the usdTerminal prim and populates it in the materialNetworkMap under the terminalIdentifier. This shared implementation is usable for populating material networks for any connectable source including lights and light filters in addition to materials.

USDIMAGING_API bool UsdImagingIsHdMaterialNetworkTimeVarying ( UsdPrim const usdTerminal)

Returns whether the material network built by UsdImagingBuildHdMaterialNetworkFromTerminal for the given usdTerminal prim is time varying.