24#ifndef PXR_IMAGING_HD_ST_DRAW_ITEM_INSTANCE_H
25#define PXR_IMAGING_HD_ST_DRAW_ITEM_INSTANCE_H
28#include "pxr/imaging/hdSt/api.h"
29#include "pxr/imaging/hdSt/drawItem.h"
31PXR_NAMESPACE_OPEN_SCOPE
33using HdSt_DrawBatchSharedPtr = std::shared_ptr<class HdSt_DrawBatch>;
82 HdSt_DrawBatch * _batch;
83 HdStDrawItem
const * _drawItem;
89PXR_NAMESPACE_CLOSE_SCOPE
A container to store instance state for a drawitem.
HDST_API void SetBatchIndex(size_t batchIndex)
Set index into batch list.
void SetBatch(HdSt_DrawBatch *batch)
Set the batch that will receive the DrawItemInstanceChanged callback when visibility is updated.
HdStDrawItem const * GetDrawItem() const
Return a const pointer to draw item.
size_t GetBatchIndex() const
Query batch index.
HDST_API void SetVisible(bool visible)
Set visibility state.
bool IsVisible() const
Query visibility state.