HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
renderPassState.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_HD_RENDER_PASS_STATE_H
8 #define PXR_IMAGING_HD_RENDER_PASS_STATE_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hd/api.h"
12 #include "pxr/imaging/hd/aov.h"
13 #include "pxr/imaging/hd/version.h"
14 #include "pxr/imaging/hd/enums.h"
15 
17 
18 #include "pxr/usd/sdf/path.h"
19 
20 #include "pxr/base/tf/token.h"
21 #include "pxr/base/vt/value.h"
22 #include "pxr/base/gf/matrix4d.h"
23 #include "pxr/base/gf/vec2f.h"
24 #include "pxr/base/gf/vec4d.h"
25 #include "pxr/base/gf/vec4f.h"
26 
27 #include <memory>
28 
29 #include <optional>
30 
32 
33 
34 using HdRenderPassStateSharedPtr = std::shared_ptr<class HdRenderPassState>;
35 using HdResourceRegistrySharedPtr = std::shared_ptr<class HdResourceRegistry>;
36 
37 class HdCamera;
38 
39 /// \class HdRenderPassState
40 ///
41 /// A set of rendering parameters used among render passes.
42 ///
43 /// Parameters are expressed as GL states, uniforms or shaders.
44 ///
46 {
47 public:
48  HD_API
50  HD_API
51  virtual ~HdRenderPassState();
52 
53  /// Schedule to update renderPassState parameters.
54  /// e.g. camera matrix, override color, id blend factor.
55  /// Prepare, called once per frame after the sync phase, but prior to
56  /// the commit phase.
57  HD_API
58  virtual void Prepare(HdResourceRegistrySharedPtr const &resourceRegistry);
59 
60  // ---------------------------------------------------------------------- //
61  /// \name Camera and framing state
62  // ---------------------------------------------------------------------- //
63 
64  using ClipPlanesVector = std::vector<GfVec4d>;
65 
66  /// Sets the camera.
67  HD_API
68  void SetCamera(const HdCamera *camera);
69 
70  /// Sets whether to override the window policy used to conform the camera
71  /// if its aspect ratio is not matching the display window/viewport.
72  /// If first value is false, the HdCamera's window policy is used.
73  ///
74  HD_API
76  const std::optional<CameraUtilConformWindowPolicy> &
77  overrideWindowPolicy);
78 
79  /// Sets the framing to show the camera. If a valid framing is set, a
80  /// viewport set earlier with SetViewport will be ignored.
81  HD_API
82  void SetFraming(const CameraUtilFraming &framing);
83 
84  /// Sets the viewport to show the camera. If SetViewport is called,
85  /// any framing set earlier with SetFraming will be ignored.
86  ///
87  /// \deprecated Use the more expressive SetFraming instead.
88  HD_API
89  void SetViewport(const GfVec4d &viewport);
90 
91  /// Get camera
92  HdCamera const *
93  GetCamera() const { return _camera; }
94 
95  /// Get framing information determining how the filmback plane maps
96  /// to pixels.
97  const CameraUtilFraming &
98  GetFraming() const { return _framing; }
99 
100  /// The override value for the window policy to conform the camera
101  /// frustum that can be specified by the application.
102  const std::optional<CameraUtilConformWindowPolicy> &
104 
105  /// The resolved window policy to conform the camera frustum.
106  /// This is either the override value specified by the application or
107  /// the value from the scene delegate's camera.
108  HD_API
110  GetWindowPolicy() const;
111 
112  /// Camera getter API
113  ///
114  /// Returns inverse of HdCamera's transform.
115  ///
116  HD_API
117  virtual GfMatrix4d GetWorldToViewMatrix() const;
118 
119  /// Compute projection matrix using physical attributes of an HdCamera.
120  ///
121  HD_API
122  virtual GfMatrix4d GetProjectionMatrix() const;
123 
124  /// Only use when clients did not specify a camera framing.
125  ///
126  /// \deprecated
127  GfVec4f const & GetViewport() const { return _viewport; }
128 
129  /// Compute a transform from window relative coordinates (x,y,z,1) to
130  /// homogeneous world coordinates (x,y,z,w), using the HdCamera's
131  /// attributes, framing, and viewport dimensions.
132  ///
133  HD_API
135 
136  /// Returns HdCamera's clip planes.
137  ///
138  HD_API
139  virtual ClipPlanesVector const & GetClipPlanes() const;
140 
141  // ---------------------------------------------------------------------- //
142  /// \name Application rendering state
143  // ---------------------------------------------------------------------- //
144 
145  /// Set an override color for rendering where the R, G and B components
146  /// are the color and the alpha component is the blend value
147  /// The color is specified in the render color space
148  HD_API
149  void SetOverrideColor(GfVec4f const &color);
150  const GfVec4f& GetOverrideColor() const { return _overrideColor; }
151 
152  /// Set a wireframe color for rendering where the R, G and B components
153  /// are the color and the alpha component is the blend value
154  /// The color is specified in the render color space
155  HD_API
156  void SetWireframeColor(GfVec4f const &color);
157  const GfVec4f& GetWireframeColor() const { return _wireframeColor; }
158 
159  /// The color is specified in the render color space
160  HD_API
161  void SetMaskColor(GfVec4f const &color);
162  const GfVec4f& GetMaskColor() const { return _maskColor; }
163 
164  /// The color is specified in the render color space
165  HD_API
166  void SetIndicatorColor(GfVec4f const &color);
167  const GfVec4f& GetIndicatorColor() const { return _indicatorColor; }
168 
169  /// Set a point color for rendering where the R, G and B components
170  /// are the color and the alpha component is the blend value
171  /// The color is specified in the render color space
172  HD_API
173  void SetPointColor(GfVec4f const &color);
174  const GfVec4f& GetPointColor() const { return _pointColor; }
175 
176  /// Set the point size for unselected points.
177  HD_API
178  void SetPointSize(float size);
179  float GetPointSize() const { return _pointSize; }
180 
181  /// Set the point size for selected points.
182  HD_API
183  void SetPointSelectedSize(float size);
184  float GetPointSelectedSize() const { return _pointSelectedSize; }
185 
186  /// XXX: Hacky way of disabling lighting
187  HD_API
188  void SetLightingEnabled(bool enabled);
189  bool GetLightingEnabled() const { return _lightingEnabled; }
190 
191  HD_API
192  void SetClippingEnabled(bool enabled);
193  bool GetClippingEnabled() const { return _clippingEnabled; }
194 
195  HD_API
196  void SetEnableExposureCompensation(bool enableExposureCompensation);
198 
199  // ---------------------------------------------------------------------- //
200  /// \name Render pipeline state
201  // ---------------------------------------------------------------------- //
202 
203  /// Set the attachments for this renderpass to render into.
204  HD_API
205  void SetAovBindings(HdRenderPassAovBindingVector const &aovBindings);
206  HD_API
208 
209  /// Set the AOVs that this renderpass needs to read from.
210  HD_API
211  void SetAovInputBindings(HdRenderPassAovBindingVector const &aovBindings);
212  HD_API
214 
215  /// Returns true if the render pass wants to render into the multi-sample
216  /// aovs. Returns false if the render wants to render into the resolve aovs.
217  HD_API
218  void SetUseAovMultiSample(bool state);
219  HD_API
220  bool GetUseAovMultiSample() const;
221 
222  HD_API
223  void SetCullStyle(HdCullStyle cullStyle);
224  HD_API
225  HdCullStyle GetCullStyle() const { return _cullStyle; }
226 
227  HD_API
228  void SetAlphaThreshold(float alphaThreshold);
229  float GetAlphaThreshold() const { return _alphaThreshold; }
230 
231  HD_API
232  void SetTessLevel(float level);
233  float GetTessLevel() const { return _tessLevel; }
234 
235  HD_API
236  void SetDrawingRange(GfVec2f const &drawRange);
237  GfVec2f GetDrawingRange() const { return _drawRange; } // in pixel
238  HD_API
239  GfVec2f GetDrawingRangeNDC() const; // in ndc
240 
241  HD_API
242  void SetDepthBiasUseDefault(bool useDefault);
244 
245  HD_API
246  void SetDepthBiasEnabled(bool enabled);
247  bool GetDepthBiasEnabled() const { return _depthBiasEnabled; }
248 
249  HD_API
250  void SetDepthBias(float constantFactor, float slopeFactor);
251 
252  HD_API
253  void SetDepthFunc(HdCompareFunction depthFunc);
255 
256  HD_API
257  void SetEnableDepthMask(bool state);
258  HD_API
259  bool GetEnableDepthMask() const;
260 
261  HD_API
262  void SetEnableDepthTest(bool enabled);
263  HD_API
264  bool GetEnableDepthTest() const;
265 
266  HD_API
267  void SetEnableDepthClamp(bool enabled);
268  HD_API
269  bool GetEnableDepthClamp() const;
270 
271  HD_API
272  void SetDepthRange(GfVec2f const &depthRange);
273  HD_API
274  const GfVec2f& GetDepthRange() const;
275 
276  HD_API
277  void SetStencil(HdCompareFunction func, int ref, int mask,
280  int GetStencilRef() const { return _stencilRef; }
281  int GetStencilMask() const { return _stencilMask; }
285  HD_API
286  void SetStencilEnabled(bool enabled);
287  HD_API
288  bool GetStencilEnabled() const;
289 
290  HD_API
291  void SetLineWidth(float width);
292  float GetLineWidth() const { return _lineWidth; }
293 
294  HD_API
295  void SetBlend(HdBlendOp colorOp,
296  HdBlendFactor colorSrcFactor,
297  HdBlendFactor colorDstFactor,
298  HdBlendOp alphaOp,
299  HdBlendFactor alphaSrcFactor,
300  HdBlendFactor alphaDstFactor);
307 
308  // Blend constant color is specified in the render color space
309  HD_API
310  void SetBlendConstantColor(GfVec4f const & color);
312  HD_API
313  void SetBlendEnabled(bool enabled);
314 
315  HD_API
318 
319  HD_API
320  void SetColorMaskUseDefault(bool useDefault);
322 
323  HD_API
327  }
328 
329  HD_API
330  void SetVolumeRenderingConstants(float stepSize, float stepSizeLighting);
331 
332  enum ColorMask {
336  };
337 
338  HD_API
339  void SetColorMasks(std::vector<ColorMask> const& masks);
340  std::vector<ColorMask> const& GetColorMasks() const { return _colorMasks; }
341 
342  HD_API
343  void SetMultiSampleEnabled(bool enabled);
345 
346 protected:
347  // ---------------------------------------------------------------------- //
348  // Camera and framing state
349  // ---------------------------------------------------------------------- //
353  std::optional<CameraUtilConformWindowPolicy> _overrideWindowPolicy;
354 
355  // ---------------------------------------------------------------------- //
356  // Application rendering state
357  // ---------------------------------------------------------------------- //
361  float _pointSize;
365 
369 
370  // ---------------------------------------------------------------------- //
371  // Render pipeline state
372  // ---------------------------------------------------------------------- //
374  float _tessLevel;
376 
377  bool _depthBiasUseDefault; // inherit existing state, ignore values below.
386 
388 
389  // Stencil RenderPassState
397 
398  // Line width
399  float _lineWidth;
400 
401  // Blending
410 
411  // alpha to coverage
413 
415  std::vector<ColorMask> _colorMasks;
416 
420 
422 
423  float _stepSize;
425 
427 };
428 
430 
431 #endif // PXR_IMAGING_HD_RENDER_PASS_STATE_H
HdRenderPassAovBindingVector _aovInputBindings
Set the attachments for this renderpass to render into.
HdCamera const * GetCamera() const
Get camera.
const std::optional< CameraUtilConformWindowPolicy > & GetOverrideWindowPolicy() const
bool _depthClampEnabled
Set the attachments for this renderpass to render into.
HD_API void SetFraming(const CameraUtilFraming &framing)
std::shared_ptr< class HdRenderPassState > HdRenderPassStateSharedPtr
Definition: engine.h:25
float _lineWidth
Set the attachments for this renderpass to render into.
HdCompareFunction
Definition: enums.h:19
HD_API void SetStencil(HdCompareFunction func, int ref, int mask, HdStencilOp fail, HdStencilOp zfail, HdStencilOp zpass)
Set the attachments for this renderpass to render into.
std::vector< ColorMask > _colorMasks
Set the attachments for this renderpass to render into.
bool GetMultiSampleEnabled() const
Set the attachments for this renderpass to render into.
HD_API void SetDepthBias(float constantFactor, float slopeFactor)
Set the attachments for this renderpass to render into.
HdCullStyle
Definition: enums.h:105
HD_API void SetClippingEnabled(bool enabled)
float _stepSizeLighting
Set the attachments for this renderpass to render into.
float _tessLevel
Set the attachments for this renderpass to render into.
const GfVec4f & GetPointColor() const
GfVec4f _viewport
Set the attachments for this renderpass to render into.
HD_API void SetPointColor(GfVec4f const &color)
HD_API void SetEnableExposureCompensation(bool enableExposureCompensation)
GfVec4f _maskColor
Set the attachments for this renderpass to render into.
HD_API void SetMaskColor(GfVec4f const &color)
The color is specified in the render color space.
std::shared_ptr< class HdResourceRegistry > HdResourceRegistrySharedPtr
bool _conservativeRasterizationEnabled
Set the attachments for this renderpass to render into.
HdBlendFactor GetBlendColorSrcFactor()
Set the attachments for this renderpass to render into.
virtual HD_API GfMatrix4d GetProjectionMatrix() const
HD_API void SetAlphaThreshold(float alphaThreshold)
Set the attachments for this renderpass to render into.
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
float _depthBiasConstantFactor
Set the attachments for this renderpass to render into.
HdRenderPassAovBindingVector _aovBindings
Set the attachments for this renderpass to render into.
HD_API void SetTessLevel(float level)
Set the attachments for this renderpass to render into.
HdStencilOp GetStencilFailOp() const
Set the attachments for this renderpass to render into.
HD_API GfMatrix4d GetImageToWorldMatrix() const
HD_API void SetPointSelectedSize(float size)
Set the point size for selected points.
GLint level
Definition: glcorearb.h:108
#define HD_API
Definition: api.h:23
HD_API void SetDepthRange(GfVec2f const &depthRange)
Set the attachments for this renderpass to render into.
HD_API void SetStencilEnabled(bool enabled)
Set the attachments for this renderpass to render into.
Definition: vec4d.h:45
HdBlendFactor
Definition: enums.h:70
GfVec4f _blendConstantColor
Set the attachments for this renderpass to render into.
const GfVec4f & GetWireframeColor() const
HdCompareFunction GetStencilFunc() const
Set the attachments for this renderpass to render into.
HdBlendOp _blendColorOp
Set the attachments for this renderpass to render into.
GfVec2f GetDrawingRange() const
Set the attachments for this renderpass to render into.
virtual HD_API GfMatrix4d GetWorldToViewMatrix() const
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glcorearb.h:2539
HD_API void SetCullStyle(HdCullStyle cullStyle)
Set the attachments for this renderpass to render into.
virtual HD_API void Prepare(HdResourceRegistrySharedPtr const &resourceRegistry)
HD_API void SetLightingEnabled(bool enabled)
XXX: Hacky way of disabling lighting.
HD_API bool GetStencilEnabled() const
Set the attachments for this renderpass to render into.
virtual HD_API ClipPlanesVector const & GetClipPlanes() const
const GfVec4f & GetOverrideColor() const
bool _multiSampleEnabled
Set the attachments for this renderpass to render into.
HD_API void SetDepthBiasUseDefault(bool useDefault)
Set the attachments for this renderpass to render into.
HdBlendFactor GetBlendColorDstFactor()
Set the attachments for this renderpass to render into.
GfVec4f _pointColor
Set the attachments for this renderpass to render into.
HdCompareFunction _depthFunc
Set the attachments for this renderpass to render into.
HD_API void SetOverrideWindowPolicy(const std::optional< CameraUtilConformWindowPolicy > &overrideWindowPolicy)
GfVec4f _indicatorColor
Set the attachments for this renderpass to render into.
bool GetDepthBiasEnabled() const
Set the attachments for this renderpass to render into.
bool _depthBiasEnabled
Set the attachments for this renderpass to render into.
HD_API bool GetEnableDepthMask() const
Set the attachments for this renderpass to render into.
HdStencilOp GetStencilDepthFailOp() const
Set the attachments for this renderpass to render into.
HdBlendOp GetBlendColorOp()
Set the attachments for this renderpass to render into.
HD_API void SetBlendEnabled(bool enabled)
Set the attachments for this renderpass to render into.
GfVec4f _overrideColor
Set the attachments for this renderpass to render into.
HD_API void SetEnableDepthMask(bool state)
Set the attachments for this renderpass to render into.
std::vector< GfVec4d > ClipPlanesVector
Sets the camera.
bool GetConservativeRasterizationEnabled() const
Set the attachments for this renderpass to render into.
int GetStencilRef() const
Set the attachments for this renderpass to render into.
HdBlendOp _blendAlphaOp
Set the attachments for this renderpass to render into.
GLint ref
Definition: glcorearb.h:124
GfVec2f _depthRange
Set the attachments for this renderpass to render into.
HD_API void SetWireframeColor(GfVec4f const &color)
HD_API void SetUseAovMultiSample(bool state)
HdStencilOp _stencilFailOp
Set the attachments for this renderpass to render into.
int GetStencilMask() const
Set the attachments for this renderpass to render into.
bool GetEnableExposureCompensation() const
HD_API bool GetEnableDepthTest() const
Set the attachments for this renderpass to render into.
HdCompareFunction _stencilFunc
Set the attachments for this renderpass to render into.
HD_API bool GetEnableDepthClamp() const
Set the attachments for this renderpass to render into.
HD_API void SetMultiSampleEnabled(bool enabled)
Set the attachments for this renderpass to render into.
HD_API HdRenderPassAovBindingVector const & GetAovBindings() const
Set the attachments for this renderpass to render into.
GfVec4f _wireframeColor
Set the attachments for this renderpass to render into.
GLint GLuint mask
Definition: glcorearb.h:124
ColorMask
Set the attachments for this renderpass to render into.
HD_API void SetBlendConstantColor(GfVec4f const &color)
Set the attachments for this renderpass to render into.
HD_API void SetColorMaskUseDefault(bool useDefault)
Set the attachments for this renderpass to render into.
int _stencilRef
Set the attachments for this renderpass to render into.
int _stencilMask
Set the attachments for this renderpass to render into.
HD_API GfVec2f GetDrawingRangeNDC() const
Set the attachments for this renderpass to render into.
HdCompareFunction GetDepthFunc() const
Set the attachments for this renderpass to render into.
HdBlendFactor _blendColorSrcFactor
Set the attachments for this renderpass to render into.
bool _stencilEnabled
Set the attachments for this renderpass to render into.
bool _alphaToCoverageEnabled
Set the attachments for this renderpass to render into.
bool _lightingEnabled
Set the attachments for this renderpass to render into.
bool _depthMaskEnabled
Set the attachments for this renderpass to render into.
HdStencilOp GetStencilDepthPassOp() const
Set the attachments for this renderpass to render into.
HD_API void SetIndicatorColor(GfVec4f const &color)
The color is specified in the render color space.
HD_API CameraUtilConformWindowPolicy GetWindowPolicy() const
float _pointSelectedSize
Set the attachments for this renderpass to render into.
HD_API HdCullStyle GetCullStyle() const
Set the attachments for this renderpass to render into.
GLenum zfail
Definition: glcorearb.h:125
HD_API void SetCamera(const HdCamera *camera)
Sets the camera.
bool GetDepthBiasUseDefault() const
Set the attachments for this renderpass to render into.
HdStencilOp
Definition: enums.h:37
HD_API void SetAlphaToCoverageEnabled(bool enabled)
Set the attachments for this renderpass to render into.
HdStencilOp _stencilZFailOp
Set the attachments for this renderpass to render into.
HD_API void SetOverrideColor(GfVec4f const &color)
HdCullStyle _cullStyle
Set the attachments for this renderpass to render into.
HD_API void SetBlend(HdBlendOp colorOp, HdBlendFactor colorSrcFactor, HdBlendFactor colorDstFactor, HdBlendOp alphaOp, HdBlendFactor alphaSrcFactor, HdBlendFactor alphaDstFactor)
Set the attachments for this renderpass to render into.
HD_API void SetEnableDepthTest(bool enabled)
Set the attachments for this renderpass to render into.
GfVec2f _drawRange
Set the attachments for this renderpass to render into.
float GetPointSelectedSize() const
Definition: vec4f.h:45
CameraUtilConformWindowPolicy
Definition: conformWindow.h:27
HD_API HdRenderPassState()
GLsizeiptr size
Definition: glcorearb.h:664
GLenum GLenum zpass
Definition: glcorearb.h:125
HD_API void SetViewport(const GfVec4d &viewport)
GLenum func
Definition: glcorearb.h:783
float _stepSize
Set the attachments for this renderpass to render into.
HD_API void SetVolumeRenderingConstants(float stepSize, float stepSizeLighting)
Set the attachments for this renderpass to render into.
HD_API void SetDrawingRange(GfVec2f const &drawRange)
Set the attachments for this renderpass to render into.
float GetAlphaThreshold() const
Set the attachments for this renderpass to render into.
float GetTessLevel() const
Set the attachments for this renderpass to render into.
const GfVec4f & GetBlendConstantColor() const
Set the attachments for this renderpass to render into.
HD_API void SetEnableDepthClamp(bool enabled)
Set the attachments for this renderpass to render into.
GLuint color
Definition: glcorearb.h:1261
bool GetAlphaToCoverageEnabled() const
Set the attachments for this renderpass to render into.
bool GetColorMaskUseDefault() const
Set the attachments for this renderpass to render into.
HD_API void SetColorMasks(std::vector< ColorMask > const &masks)
Set the attachments for this renderpass to render into.
float GetPointSize() const
HdBlendFactor GetBlendAlphaSrcFactor()
Set the attachments for this renderpass to render into.
HD_API void SetConservativeRasterizationEnabled(bool enabled)
Set the attachments for this renderpass to render into.
bool _useMultiSampleAov
Set the attachments for this renderpass to render into.
HdBlendFactor _blendAlphaDstFactor
Set the attachments for this renderpass to render into.
Definition: vec2f.h:45
HdCamera const * _camera
Set the attachments for this renderpass to render into.
float _depthBiasSlopeFactor
Set the attachments for this renderpass to render into.
std::optional< CameraUtilConformWindowPolicy > _overrideWindowPolicy
Set the attachments for this renderpass to render into.
virtual HD_API ~HdRenderPassState()
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
std::vector< ColorMask > const & GetColorMasks() const
Set the attachments for this renderpass to render into.
HdBlendFactor GetBlendAlphaDstFactor()
Set the attachments for this renderpass to render into.
bool GetLightingEnabled() const
const GfVec4f & GetIndicatorColor() const
GfVec4f const & GetViewport() const
HD_API const GfVec2f & GetDepthRange() const
Set the attachments for this renderpass to render into.
GLint GLsizei width
Definition: glcorearb.h:103
float GetLineWidth() const
Set the attachments for this renderpass to render into.
float _alphaThreshold
Set the attachments for this renderpass to render into.
bool _depthTestEnabled
Set the attachments for this renderpass to render into.
HD_API void SetLineWidth(float width)
Set the attachments for this renderpass to render into.
bool _depthBiasUseDefault
Set the attachments for this renderpass to render into.
HD_API void SetPointSize(float size)
Set the point size for unselected points.
HdBlendOp GetBlendAlphaOp()
Set the attachments for this renderpass to render into.
float _pointSize
Set the attachments for this renderpass to render into.
HD_API HdRenderPassAovBindingVector const & GetAovInputBindings() const
Set the attachments for this renderpass to render into.
bool _blendEnabled
Set the attachments for this renderpass to render into.
HD_API void SetAovBindings(HdRenderPassAovBindingVector const &aovBindings)
Set the attachments for this renderpass to render into.
HD_API void SetDepthFunc(HdCompareFunction depthFunc)
Set the attachments for this renderpass to render into.
bool GetClippingEnabled() const
HdBlendOp
Definition: enums.h:55
HD_API void SetAovInputBindings(HdRenderPassAovBindingVector const &aovBindings)
Set the AOVs that this renderpass needs to read from.
std::vector< HdRenderPassAovBinding > HdRenderPassAovBindingVector
Definition: aov.h:137
bool _clippingEnabled
Set the attachments for this renderpass to render into.
const CameraUtilFraming & GetFraming() const
HD_API bool GetUseAovMultiSample() const
Set the attachments for this renderpass to render into.
HdBlendFactor _blendAlphaSrcFactor
Set the attachments for this renderpass to render into.
state
Definition: core.h:2289
const GfVec4f & GetMaskColor() const
HdStencilOp _stencilZPassOp
Set the attachments for this renderpass to render into.
CameraUtilFraming _framing
Set the attachments for this renderpass to render into.
HD_API void SetDepthBiasEnabled(bool enabled)
Set the attachments for this renderpass to render into.
bool _colorMaskUseDefault
Set the attachments for this renderpass to render into.
bool _enableExposureCompensation
Set the attachments for this renderpass to render into.
HdBlendFactor _blendColorDstFactor
Set the attachments for this renderpass to render into.