9 #include <pxr/base/gf/matrix4d.h>
10 #include <pxr/base/gf/vec3f.h>
11 #include <pxr/base/gf/vec4f.h>
12 #include <pxr/base/vt/array.h>
13 #include <pxr/imaging/hd/instancer.h>
20 const PXR_NS::SdfPath &instancerId
21 #
if PXR_VERSION <= 2011
23 const PXR_NS::SdfPath &parentId
28 #if PXR_VERSION > 2011
29 void Sync(PXR_NS::HdSceneDelegate *sceneDelegate,
30 PXR_NS::HdRenderParam *renderParam,
31 PXR_NS::HdDirtyBits *dirtyBits)
override;
39 PXR_NS::VtVec3fArray _translate;
40 PXR_NS::VtVec4fArray _rotate;
41 PXR_NS::VtVec3fArray _scale;
42 PXR_NS::VtMatrix4dArray _instanceTransform;
HdCyclesInstancer(PXR_NS::HdSceneDelegate *delegate, const PXR_NS::SdfPath &instancerId, const PXR_NS::SdfPath &parentId)
PXR_NS::VtMatrix4dArray ComputeInstanceTransforms(const PXR_NS::SdfPath &prototypeId)
~HdCyclesInstancer() override
#define HDCYCLES_NAMESPACE_CLOSE_SCOPE