Loading...
Searching...
No Matches
HdsiPrimTypeNoticeBatchingSceneIndex::PrimTypePriorityFunctor Class Referenceabstract

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().
 

Detailed Description

Base class for functor mapping prim types to priorities.

Definition at line 73 of file primTypeNoticeBatchingSceneIndex.h.

Member Function Documentation

◆ GetNumPriorities()

virtual size_t GetNumPriorities ( ) const
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().

◆ GetPriorityForPrimType()

virtual size_t GetPriorityForPrimType ( const TfToken primType) const
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().


The documentation for this class was generated from the following file: