HDK
|
#include <drawItem.h>
Public Member Functions | |
HF_MALLOC_TAG_NEW ("new HdDrawItem") | |
HD_API | HdDrawItem (HdRprimSharedData const *sharedData) |
virtual HD_API | ~HdDrawItem () |
SdfPath const & | GetRprimID () const |
GfBBox3d const & | GetBounds () const |
GfRange3d const & | GetExtent () const |
GfMatrix4d const & | GetMatrix () const |
HdDrawingCoord * | GetDrawingCoord () |
bool | GetVisible () const |
Returns the authored visibility, expressed by the delegate. More... | |
TfToken const & | GetMaterialTag () const |
void | SetMaterialTag (TfToken const &materialTag) |
Protected Member Functions | |
HdDrawingCoord const & | _GetDrawingCoord () const |
Returns the drawingCoord. More... | |
HdRprimSharedData const * | _GetSharedData () const |
Returns the shared data. More... | |
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.
Definition at line 64 of file drawItem.h.
HD_API HdDrawItem::HdDrawItem | ( | HdRprimSharedData const * | sharedData | ) |
|
virtual |
|
inlineprotected |
Returns the drawingCoord.
Definition at line 104 of file drawItem.h.
|
inlineprotected |
Returns the shared data.
Definition at line 109 of file drawItem.h.
|
inline |
Definition at line 77 of file drawItem.h.
|
inline |
Definition at line 87 of file drawItem.h.
|
inline |
Definition at line 79 of file drawItem.h.
|
inline |
Definition at line 94 of file drawItem.h.
|
inline |
Definition at line 83 of file drawItem.h.
|
inline |
Definition at line 75 of file drawItem.h.
|
inline |
Returns the authored visibility, expressed by the delegate.
Definition at line 92 of file drawItem.h.
HdDrawItem::HF_MALLOC_TAG_NEW | ( | "new HdDrawItem" | ) |
Definition at line 98 of file drawItem.h.