HDK
|
#include <drawItem.h>
Additional Inherited Members | |
Protected Member Functions inherited from HdDrawItem | |
HdDrawingCoord const & | _GetDrawingCoord () const |
Returns the drawingCoord. More... | |
HdRprimSharedData const * | _GetSharedData () const |
Returns the shared data. More... | |
Definition at line 40 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 87 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 93 of file drawItem.h.
|
inline |
Returns face varying primvar BAR.
Definition at line 111 of file drawItem.h.
|
inline |
Returns mapping from refined fvar channels to named primvar.
Definition at line 129 of file drawItem.h.
|
inline |
Definition at line 137 of file drawItem.h.
|
inline |
Returns instance-index indirection BAR.
Definition at line 81 of file drawItem.h.
|
inline |
Returns the number of nested levels of instance primvars.
Definition at line 58 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 75 of file drawItem.h.
|
inline |
Definition at line 151 of file drawItem.h.
|
inline |
Definition at line 142 of file drawItem.h.
|
inline |
Returns topology BAR.
Definition at line 117 of file drawItem.h.
|
inline |
Returns topological visibility BAR (e.g. per-face, per-point, etc.)
Definition at line 123 of file drawItem.h.
|
inline |
Returns varying primvar BAR.
Definition at line 105 of file drawItem.h.
|
inline |
Returns vertex primvar BAR.
Definition at line 99 of file drawItem.h.
|
inline |
Returns true if the drawItem has an instancer.
Definition at line 52 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 133 of file drawItem.h.
|
inline |
Definition at line 155 of file drawItem.h.
|
inline |
Definition at line 146 of file drawItem.h.