All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
primvarUtils.h
1//
2// Copyright 2022 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_USD_IMAGING_PRIMVAR_UTILS_H
8#define PXR_USD_IMAGING_USD_IMAGING_PRIMVAR_UTILS_H
9
10#include "pxr/pxr.h"
11#include "pxr/usdImaging/usdImaging/api.h"
12
13#include "pxr/imaging/hd/enums.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
17class TfToken;
18
20USDIMAGING_API
21TfToken UsdImagingUsdToHdRole(TfToken const& usdRole);
22
24USDIMAGING_API
25HdInterpolation UsdImagingUsdToHdInterpolation(TfToken const& usdInterp);
26
29USDIMAGING_API
30TfToken UsdImagingUsdToHdInterpolationToken(TfToken const& usdInterp);
31
32PXR_NAMESPACE_CLOSE_SCOPE
33
34#endif
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71