PrimData#

Fully qualified name: usd_optimize::PrimData

struct PrimData#

Struct to track information about a prim that is part of a bucket.

Contains the prim, cached points (to avoid querying them repeatedly), and offsets that can be used when combining data.

Public Functions

inline PrimData()#
inline explicit PrimData(const PXR_NS::UsdPrim &_prim)#
PrimData(const PrimData &other) = default#
inline PrimData(const PrimData &&other) noexcept#

Public Members

PXR_NS::UsdPrim prim#
PXR_NS::VtArray<PXR_NS::GfVec3f> points#
PXR_NS::VtArray<int> faceVertexIndices#
PXR_NS::VtArray<int> faceVertexCounts#
PXR_NS::VtVec3fArray worldExtent#
PXR_NS::GfMatrix4d localToWorldTransform#
int pointsOffset = 0#
int faceVertexCountsOffset = 0#
int faceVertexIndicesOffset = 0#
PXR_NS::VtDictionary overrides#