7#ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_INSTANCER_H
8#define PXR_IMAGING_PLUGIN_HD_EMBREE_INSTANCER_H
12#include "pxr/imaging/hd/instancer.h"
13#include "pxr/imaging/hd/vtBufferSource.h"
15#include "pxr/base/tf/hashmap.h"
18PXR_NAMESPACE_OPEN_SCOPE
59 HdDirtyBits *dirtyBits)
override;
75PXR_NAMESPACE_CLOSE_SCOPE
HdEmbree implements instancing by adding prototype geometry to the BVH multiple times within HdEmbree...
void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Updates cached primvar data from the scene delegate.
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.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
An implementation of HdBufferSource where the source data value is a VtValue.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Functor to use for hash maps from tokens to other things.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...