An HdRepr refers to a (single) topological representation of an rprim, and owns the draw item(s) that visually represent it. More...
Public Types | |
using | DrawItemUniquePtr = std::unique_ptr< HdDrawItem > |
using | DrawItemUniquePtrVector = std::vector< DrawItemUniquePtr > |
Public Member Functions | |
const DrawItemUniquePtrVector & | GetDrawItems () const |
Returns the draw items for this representation. More... | |
void | AddDrawItem (std::unique_ptr< HdDrawItem > &&item) |
Transfers ownership of a draw item to this repr. More... | |
HdDrawItem * | GetDrawItem (size_t index) const |
Returns the draw item at the requested index. More... | |
An HdRepr refers to a (single) topological representation of an rprim, and owns the draw item(s) that visually represent it.
The draw items are populated by the rprim. The relevant compositional hierarchy is:
HdRprim | +–HdRepr(s) | +–HdDrawItem(s)
When multiple topological representations are required for an rprim, we use HdReprSelector to compose the individual representations.
|
inline |
|
inline |
|
inline |