Loading...
Searching...
No Matches
materialParamUtils.h
1//
2// Copyright 2020 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_IMAGING_MATERIAL_PARAM_UTILS_H
8#define PXR_USD_IMAGING_MATERIAL_PARAM_UTILS_H
9
10#include "pxr/pxr.h"
11#include "pxr/usdImaging/usdImaging/api.h"
12#include "pxr/base/tf/token.h"
13
14PXR_NAMESPACE_OPEN_SCOPE
15
17class UsdAttribute;
18class UsdPrim;
19class UsdTimeCode;
20class VtValue;
21
27USDIMAGING_API
28void
29UsdImagingBuildHdMaterialNetworkFromTerminal(
30 UsdPrim const& usdTerminal,
31 TfToken const& terminalIdentifier,
32 TfTokenVector const& shaderSourceTypes,
33 TfTokenVector const& renderContexts,
34 HdMaterialNetworkMap *materialNetworkMap,
35 UsdTimeCode time);
36
40USDIMAGING_API
41bool
42UsdImagingIsHdMaterialNetworkTimeVarying(
43 UsdPrim const& usdTerminal);
44
45PXR_NAMESPACE_CLOSE_SCOPE
46
47#endif // PXR_USD_IMAGING_MATERIAL_PARAM_UTILS_H
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
Definition: attribute.h:183
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Definition: prim.h:117
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
Definition: timeCode.h:72
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Definition: value.h:90
Describes a map from network type to network.
Definition: material.h:116
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440