24 #ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_INSTANCER_H
25 #define PXR_IMAGING_PLUGIN_HD_EMBREE_INSTANCER_H
29 #include "pxr/imaging/hd/instancer.h"
30 #include "pxr/imaging/hd/vtBufferSource.h"
32 #include "pxr/base/tf/hashmap.h"
35 PXR_NAMESPACE_OPEN_SCOPE
74 HdDirtyBits *dirtyBits)
override;
90 PXR_NAMESPACE_CLOSE_SCOPE
92 #endif // PXR_IMAGING_PLUGIN_HD_EMBREE_INSTANCER_H
VtMatrix4dArray ComputeInstanceTransforms(SdfPath const &prototypeId)
Computes all instance transforms for the provided prototype id, taking into account the scene delegat...
~HdEmbreeInstancer()
Destructor.
HdEmbreeInstancer(HdSceneDelegate *delegate, SdfPath const &id)
Constructor.
This class exists to facilitate point cloud style instancing.
Functor to use for hash maps from tokens to other things.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Token for efficient comparison, assignment, and hashing of known strings.
void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Updates cached primvar data from the scene delegate.
Adapter class providing data exchange with the client scene graph.
A path value used to locate objects in layers or scenegraphs.
HdEmbree implements instancing by adding prototype geometry to the BVH multiple times within HdEmbree...
An implementation of HdBufferSource where the source data value is a VtValue.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...