|
Base class for functor mapping prim types to priorities. More...
#include <primTypeNoticeBatchingSceneIndex.h>
Public Member Functions | |
virtual size_t | GetPriorityForPrimType (const TfToken &primType) const =0 |
Priority for given prim type. | |
virtual size_t | GetNumPriorities () const =0 |
Number of priorities - that is 1 + the highest number ever returned by GetPriorityForPrimType(). | |
Base class for functor mapping prim types to priorities.
Definition at line 73 of file primTypeNoticeBatchingSceneIndex.h.
|
pure virtual |
Number of priorities - that is 1 + the highest number ever returned by GetPriorityForPrimType().
This number should be small as it affects the pre-allocation in Flush().
|
pure virtual |
Priority for given prim type.
Prims with lower priority number are handled before prims with higher priority number. Result must be less than GetNumPriorities().