24 #ifndef PXR_IMAGING_PLUGIN_HD_ST_RENDER_PARAM_H
25 #define PXR_IMAGING_PLUGIN_HD_ST_RENDER_PARAM_H
28 #include "pxr/imaging/hd/renderDelegate.h"
29 #include "pxr/imaging/hdSt/api.h"
33 PXR_NAMESPACE_OPEN_SCOPE
57 unsigned int GetDrawBatchesVersion()
const;
65 unsigned int GetMaterialTagsVersion()
const;
71 _needsGarbageCollection =
true;
74 void ClearGarbageCollectionNeeded() {
75 _needsGarbageCollection =
false;
78 bool IsGarbageCollectionNeeded()
const {
79 return _needsGarbageCollection;
83 std::atomic_uint _drawBatchesVersion;
84 std::atomic_uint _materialTagsVersion;
85 bool _needsGarbageCollection;
89 PXR_NAMESPACE_CLOSE_SCOPE
91 #endif // PXR_IMAGING_PLUGIN_HD_ST_RENDER_PARAM_H
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
The render delegate can create an object of type HdRenderParam, to pass to each prim during Sync()...
void SetGarbageCollectionNeeded()
Garbage collection tracking.
HDST_API void MarkMaterialTagsDirty()
Marks material tags dirty, meaning that the draw items associated with the collection of a render pas...
HDST_API void MarkDrawBatchesDirty()
Draw items cache and batch invalidation.