HDK
|
#include <drawTarget.h>
Public Types | |
enum | DirtyBits : HdDirtyBits { Clean = 0, DirtyDTEnable = 1 << 0, DirtyDTCamera = 1 << 1, DirtyDTResolution = 1 << 2, DirtyDTAovBindings = 1 << 4, DirtyDTDepthPriority = 1 << 6, DirtyDTCollection = 1 << 7, AllDirty } |
Public Member Functions | |
HDST_API | HdStDrawTarget (SdfPath const &id) |
HDST_API | ~HdStDrawTarget () override |
HDST_API void | Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override |
Synchronizes state from the delegate to this object. More... | |
HDST_API HdDirtyBits | GetInitialDirtyBitsMask () const override |
Public Member Functions inherited from HdSprim | |
HD_API | HdSprim (SdfPath const &id) |
virtual HD_API | ~HdSprim () |
SdfPath const & | GetId () const |
virtual HD_API void | Finalize (HdRenderParam *renderParam) |
Draw Target API | |
bool | IsEnabled () const |
Returns collection of rprims the draw target draws. More... | |
const HdStDrawTargetRenderPassState * | GetDrawTargetRenderPassState () const |
Returns collection of rprims the draw target draws. More... | |
HDST_API HdRprimCollection const & | GetCollection () const |
Returns collection of rprims the draw target draws. More... | |
const GfVec2i & | GetResolution () const |
static HDST_API void | GetDrawTargets (HdRenderIndex *renderIndex, HdStDrawTargetPtrVector *drawTargets) |
returns all HdStDrawTargets in the render index More... | |
Represents an render to texture render pass.
Definition at line 64 of file drawTarget.h.
Dirty bits for the HdStDrawTarget object
When GetUseStormTextureSystem() is true, "Legacy" dirty bits are ignored.
Enumerator | |
---|---|
Clean | |
DirtyDTEnable | |
DirtyDTCamera | |
DirtyDTResolution | |
DirtyDTAovBindings | |
DirtyDTDepthPriority | |
DirtyDTCollection | |
AllDirty |
Definition at line 77 of file drawTarget.h.
|
override |
|
inline |
Returns collection of rprims the draw target draws.
Definition at line 117 of file drawTarget.h.
|
inline |
Returns collection of rprims the draw target draws.
Definition at line 110 of file drawTarget.h.
|
static |
returns all HdStDrawTargets in the render index
|
overridevirtual |
Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of this prim. Typically this would be all dirty bits.
Implements HdSprim.
|
inline |
|
inline |
Returns collection of rprims the draw target draws.
Definition at line 109 of file drawTarget.h.
|
overridevirtual |
Synchronizes state from the delegate to this object.
Implements HdSprim.