A draw item is a light-weight representation of an HdRprim's resources and material to be used for rendering.
More...
#include <drawItem.h>
Inherited by HdStDrawItem.
A draw item is a light-weight representation of an HdRprim's resources and material to be used for rendering.
The visual representation (HdRepr) of an HdRprim might require multiple draw items.
HdDrawItem(s) are created by the HdRprim (HdMesh, HdBasisCurve, ..) for each HdRepr. The relevant compositional hierarchy is:
HdRprim | +–HdRepr(s) | +–HdDrawItem(s)
HdDrawItem(s) are consumed by HdRenderPass for its HdRprimCollection via HdRenderIndex::GetDrawItems.
- Note
- Rendering backends may choose to specialize this class.
Definition at line 47 of file drawItem.h.
◆ _GetDrawingCoord()
Returns the drawingCoord.
Definition at line 87 of file drawItem.h.
◆ _GetSharedData()
HdRprimSharedData const * _GetSharedData |
( |
| ) |
const |
|
inlineprotected |
Returns the shared data.
Definition at line 92 of file drawItem.h.
◆ GetBounds()
◆ GetDrawingCoord()
◆ GetExtent()
◆ GetMaterialTag()
TfToken const & GetMaterialTag |
( |
| ) |
const |
|
inline |
◆ GetMatrix()
◆ GetRprimID()
SdfPath const & GetRprimID |
( |
| ) |
const |
|
inline |
◆ GetVisible()
bool GetVisible |
( |
| ) |
const |
|
inline |
Returns the authored visibility, expressed by the delegate.
Definition at line 75 of file drawItem.h.
◆ SetMaterialTag()
void SetMaterialTag |
( |
TfToken const & |
materialTag | ) |
|
|
inline |
The documentation for this class was generated from the following file: