HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
"
11
#include "
pxr/usdImaging/usdImaging/api.h
"
12
13
#include "
pxr/imaging/hd/enums.h
"
14
15
PXR_NAMESPACE_OPEN_SCOPE
16
17
class
TfToken
;
18
19
/// Converts from \c usdRole to the corresponding Hd role.
20
USDIMAGING_API
21
TfToken
UsdImagingUsdToHdRole
(
TfToken
const
& usdRole);
22
23
/// Converts from \c usdInterp to the corresponding \c HdInterpolation
24
USDIMAGING_API
25
HdInterpolation
UsdImagingUsdToHdInterpolation
(
TfToken
const
& usdInterp);
26
27
/// Converts from \c usdInterp to the token for the corresponding
28
/// \c HdInterpolation.
29
USDIMAGING_API
30
TfToken
UsdImagingUsdToHdInterpolationToken
(
TfToken
const
& usdInterp);
31
32
PXR_NAMESPACE_CLOSE_SCOPE
33
34
#endif
USDIMAGING_API
#define USDIMAGING_API
Definition:
api.h:23
api.h
UsdImagingUsdToHdInterpolationToken
USDIMAGING_API TfToken UsdImagingUsdToHdInterpolationToken(TfToken const &usdInterp)
PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_OPEN_SCOPE
Definition:
pxr.h:73
UsdImagingUsdToHdInterpolation
USDIMAGING_API HdInterpolation UsdImagingUsdToHdInterpolation(TfToken const &usdInterp)
Converts from usdInterp to the corresponding HdInterpolation.
TfToken
Definition:
token.h:70
pxr.h
UsdImagingUsdToHdRole
USDIMAGING_API TfToken UsdImagingUsdToHdRole(TfToken const &usdRole)
Converts from usdRole to the corresponding Hd role.
HdInterpolation
HdInterpolation
Definition:
enums.h:177
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
enums.h
pxr
usdImaging
usdImaging
primvarUtils.h
Generated on Mon Aug 24 2026 02:26:09 for HDK by
1.8.6