24 #ifndef PXR_IMAGING_HD_RPRIM_SHARED_DATA_H
25 #define PXR_IMAGING_HD_RPRIM_SHARED_DATA_H
28 #include "pxr/imaging/hd/api.h"
29 #include "pxr/imaging/hd/version.h"
30 #include "pxr/imaging/hd/bufferArrayRange.h"
31 #include "pxr/imaging/hd/tokens.h"
33 #include "pxr/usd/sdf/path.h"
39 PXR_NAMESPACE_OPEN_SCOPE
41 using TopologyToPrimvarVector =
42 std::vector<std::pair<VtIntArray, std::vector<TfToken>>>;
56 struct HdRprimSharedData {
57 HdRprimSharedData(
int barContainerSize)
58 : barContainer(barContainerSize)
63 , materialTag(HdMaterialTagTokens->defaultMaterialTag)
66 HdRprimSharedData(
int barContainerSize,
68 : barContainer(barContainerSize)
73 , materialTag(HdMaterialTagTokens->defaultMaterialTag)
98 TopologyToPrimvarVector fvarTopologyToPrimvarVector;
102 PXR_NAMESPACE_CLOSE_SCOPE
104 #endif // PXR_IMAGING_HD_RPRIM_SHARED_DATA_H
A resizable container of HdBufferArrayRanges.
Token for efficient comparison, assignment, and hashing of known strings.
A path value used to locate objects in layers or scenegraphs.
Defines all the types "TYPED" for which Vt creates a VtTYPEDArray typedef.
Basic type: arbitrarily oriented 3D bounding box.