7#ifndef PXR_IMAGING_HD_DRAW_ITEM_H
8#define PXR_IMAGING_HD_DRAW_ITEM_H
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hd/version.h"
13#include "pxr/imaging/hd/perfLog.h"
14#include "pxr/imaging/hd/drawingCoord.h"
15#include "pxr/imaging/hd/rprimSharedData.h"
17#include "pxr/imaging/hf/perfLog.h"
23PXR_NAMESPACE_OPEN_SCOPE
50 HF_MALLOC_TAG_NEW(
"new HdDrawItem");
53 HdDrawItem(HdRprimSharedData
const *sharedData);
58 SdfPath const &GetRprimID()
const {
return _sharedData->rprimID; }
60 GfBBox3d const & GetBounds()
const {
return _sharedData->bounds; }
63 return _sharedData->bounds.GetRange();
67 return _sharedData->bounds.GetMatrix();
71 return &_drawingCoord;
77 TfToken const& GetMaterialTag()
const {
81 void SetMaterialTag(
TfToken const &materialTag) {
82 _materialTag = materialTag;
103 HdRprimSharedData
const *_sharedData;
113PXR_NAMESPACE_CLOSE_SCOPE
Basic type: arbitrarily oriented 3D bounding box.
Stores a 4x4 matrix of double elements.
Basic type: 3-dimensional floating point range.
A draw item is a light-weight representation of an HdRprim's resources and material to be used for re...
bool GetVisible() const
Returns the authored visibility, expressed by the delegate.
HdRprimSharedData const * _GetSharedData() const
Returns the shared data.
HdDrawingCoord const & _GetDrawingCoord() const
Returns the drawingCoord.
A tiny set of integers, which provides an indirection mapping from the conceptual space of an HdRprim...
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.