HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
primvarUtils.h
Go to the documentation of this file.
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"
12 
13 #include "pxr/imaging/hd/enums.h"
14 
16 
17 class TfToken;
18 
19 /// Converts from \c usdRole to the corresponding Hd role.
21 TfToken UsdImagingUsdToHdRole(TfToken const& usdRole);
22 
23 /// Converts from \c usdInterp to the corresponding \c HdInterpolation
26 
27 /// Converts from \c usdInterp to the token for the corresponding
28 /// \c HdInterpolation.
31 
33 
34 #endif
#define USDIMAGING_API
Definition: api.h:23
USDIMAGING_API HdInterpolation UsdImagingUsdToHdInterpolation(TfToken const &usdInterp)
Converts from usdInterp to the corresponding HdInterpolation.
Definition: token.h:70
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
USDIMAGING_API TfToken UsdImagingUsdToHdRole(TfToken const &usdRole)
Converts from usdRole to the corresponding Hd role.
HdInterpolation
Definition: enums.h:177
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
USDIMAGING_API TfToken UsdImagingUsdToHdInterpolationToken(TfToken const &usdInterp)