HDK
|
#include <drawItem.h>
Additional Inherited Members | |
![]() | |
HdDrawingCoord const & | _GetDrawingCoord () const |
Returns the drawingCoord. More... | |
HdRprimSharedData const * | _GetSharedData () const |
Returns the shared data. More... | |
Definition at line 23 of file drawItem.h.
HDST_API HdStDrawItem::HdStDrawItem | ( | HdRprimSharedData const * | sharedData | ) |
|
override |
HDST_API size_t HdStDrawItem::GetBufferArraysHash | ( | ) | const |
Returns the hash of the versions of underlying buffers. When the hash changes, it means the drawing coord might have been reassigned, so any drawing coord caching buffer (e.g. indirect dispatch buffer) has to be rebuilt at the moment. Note that this value is a hash, not sequential.
|
inline |
Returns constant primvar BAR.
Definition at line 70 of file drawItem.h.
HDST_API size_t HdStDrawItem::GetElementOffsetsHash | ( | ) | const |
Returns the hash of the element offsets of the underlying BARs. When the hash changes, it means that any drawing coord caching buffer (e.g. the indirect dispatch buffer) has to be rebuilt. Note that this value is a hash, not sequential.
|
inline |
Returns element primvar BAR.
Definition at line 76 of file drawItem.h.
|
inline |
Returns face varying primvar BAR.
Definition at line 94 of file drawItem.h.
|
inline |
Returns mapping from refined fvar channels to named primvar.
Definition at line 112 of file drawItem.h.
|
inline |
Definition at line 120 of file drawItem.h.
|
inline |
Returns instance-index indirection BAR.
Definition at line 64 of file drawItem.h.
|
inline |
Returns the number of nested levels of instance primvars.
Definition at line 41 of file drawItem.h.
|
inline |
Returns a BufferArrayRange of instance primvars at level
the level is assigned to nested instancers in a bottom-up manner.
example: (numLevels = 2)
instancerA (level = 1) | +-- instancerB (level = 0) | +-- mesh_prototype
Definition at line 58 of file drawItem.h.
|
inline |
Definition at line 134 of file drawItem.h.
|
inline |
Definition at line 125 of file drawItem.h.
|
inline |
Returns topology BAR.
Definition at line 100 of file drawItem.h.
|
inline |
Returns topological visibility BAR (e.g. per-face, per-point, etc.)
Definition at line 106 of file drawItem.h.
|
inline |
Returns varying primvar BAR.
Definition at line 88 of file drawItem.h.
|
inline |
Returns vertex primvar BAR.
Definition at line 82 of file drawItem.h.
|
inline |
Returns true if the drawItem has an instancer.
Definition at line 35 of file drawItem.h.
HdStDrawItem::HF_MALLOC_TAG_NEW | ( | "new HdStDrawItem" | ) |
HDST_API bool HdStDrawItem::IntersectsViewVolume | ( | GfMatrix4d const & | viewProjMatrix | ) | const |
Tests intersection with the specified view projection matrix. Returns true if this drawItem is in the frustum.
XXX: Currently if this drawitem uses instancing, always returns true.
|
inline |
Definition at line 116 of file drawItem.h.
|
inline |
Definition at line 138 of file drawItem.h.
|
inline |
Definition at line 129 of file drawItem.h.