#include <noticeBatchingSceneIndex.h>
Definition at line 34 of file noticeBatchingSceneIndex.h.
HD_API HdNoticeBatchingSceneIndex::~HdNoticeBatchingSceneIndex |
( |
| ) |
|
|
override |
HD_API HdNoticeBatchingSceneIndex::HdNoticeBatchingSceneIndex |
( |
const HdSceneIndexBaseRefPtr & |
inputScene | ) |
|
|
protected |
void HdNoticeBatchingSceneIndex::Flush |
( |
| ) |
|
Forwards any queued notices accumuated while batching state is enabled. This does not itself disable batching.
Returns the paths of all scene index prims located immediately below primPath
. This function can be used to traverse the scene by recursing from SdfPath::AbsoluteRootPath()
; such a traversal is expected to give the same set of prims as the flattening of the scene index's PrimsAdded
and PrimsRemoved
messages. This function is expected to be threadsafe.
Implements HdSceneIndexBase.
Returns a pair of (prim type, datasource) for the object at primPath
. If no such object exists, the type will be the empty token and the datasource will be null. This function is expected to be threadsafe.
Implements HdSceneIndexBase.
bool HdNoticeBatchingSceneIndex::IsBatchingEnabled |
( |
| ) |
const |
static HdNoticeBatchingSceneIndexRefPtr HdNoticeBatchingSceneIndex::New |
( |
const HdSceneIndexBaseRefPtr & |
inputScene | ) |
|
|
inlinestatic |
void HdNoticeBatchingSceneIndex::SetBatchingEnabled |
( |
bool |
enabled | ) |
|
Once batching is enabled, observed notices are queued in contiguious blocks by notice type. Disabling batching immediately forwards and flushes any queued batches. Batching state is not currently tracked in a nested manner.
std::vector<std::unique_ptr<_BatchEntry> > HdNoticeBatchingSceneIndex::_batches |
|
protected |
bool HdNoticeBatchingSceneIndex::_batchingEnabled |
|
protected |
The documentation for this class was generated from the following file: