24 #ifndef PXR_IMAGING_HD_ST_DRAW_TARGET_H
25 #define PXR_IMAGING_HD_ST_DRAW_TARGET_H
42 #define HDST_DRAW_TARGET_TOKENS \
112 return &_drawTargetRenderPassState;
140 HdStDrawTarget() =
delete;
141 HdStDrawTarget(
const HdStDrawTarget &) =
delete;
142 HdStDrawTarget &operator =(
const HdStDrawTarget &) =
delete;
148 #endif // PXR_IMAGING_HD_ST_DRAW_TARGET_H
std::vector< class HdStDrawTarget * > HdStDrawTargetPtrVector
HDST_API HdRprimCollection const & GetCollection() const
Returns collection of rprims the draw target draws.
const GfVec2i & GetResolution() const
bool IsEnabled() const
Returns collection of rprims the draw target draws.
TF_DECLARE_PUBLIC_TOKENS(HdStDrawTargetTokens, HDST_API, HDST_DRAW_TARGET_TOKENS)
HDST_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Synchronizes state from the delegate to this object.
HDST_API HdDirtyBits GetInitialDirtyBitsMask() const override
const HdStDrawTargetRenderPassState * GetDrawTargetRenderPassState() const
Returns collection of rprims the draw target draws.
static HDST_API void GetDrawTargets(HdRenderIndex *renderIndex, HdStDrawTargetPtrVector *drawTargets)
returns all HdStDrawTargets in the render index
HDST_API ~HdStDrawTarget() override
#define HDST_DRAW_TARGET_TOKENS
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE