24 #ifndef PXR_IMAGING_HD_ST_DRAW_TARGET_RENDER_PASS_STATE_H
25 #define PXR_IMAGING_HD_ST_DRAW_TARGET_RENDER_PASS_STATE_H
28 #include "pxr/imaging/hdSt/api.h"
29 #include "pxr/imaging/hd/enums.h"
30 #include "pxr/imaging/hd/rprimCollection.h"
31 #include "pxr/usd/sdf/path.h"
33 PXR_NAMESPACE_OPEN_SCOPE
37 using HdRenderPassAovBindingVector =
38 std::vector<struct HdRenderPassAovBinding>;
55 ~HdStDrawTargetRenderPassState();
57 const HdRenderPassAovBindingVector &GetAovBindings()
const {
62 void SetAovBindings(
const HdRenderPassAovBindingVector &aovBindings);
76 HdDepthPriority GetDepthPriority()
const {
return _depthPriority; }
88 return _rprimCollectionVersion;
94 return _rprimCollection;
98 HdRenderPassAovBindingVector _aovBindings;
99 HdDepthPriority _depthPriority;
104 unsigned int _rprimCollectionVersion;
106 HdStDrawTargetRenderPassState(
const HdStDrawTargetRenderPassState &) =
delete;
107 HdStDrawTargetRenderPassState &operator =(
const HdStDrawTargetRenderPassState &) =
delete;
111 PXR_NAMESPACE_CLOSE_SCOPE
113 #endif // PXR_IMAGING_HD_ST_DRAW_TARGET_RENDER_PASS_STATE_H
HDST_API void SetCamera(const SdfPath &cameraId)
Set the path to the camera to use to draw this render path from.
const HdRprimCollection & GetRprimCollection() const
Returns the collection associated with this draw target.
HDST_API void SetDepthPriority(HdDepthPriority priority)
Sets the priority of values in the depth buffer.
unsigned int GetRprimCollectionVersion() const
Returns an increasing version number for when the collection object is changed.
const SdfPath & GetCamera() const
Returns the path to the camera to render from.
A named, semantic collection of objects.
A path value used to locate objects in layers or scenegraphs.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Represents common non-gl context specific render pass state for a draw target.