File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1670,7 +1670,11 @@ bool HdArnoldRenderDelegate::IsPauseSupported() const { return false; }
1670
1670
1671
1671
bool HdArnoldRenderDelegate::IsStopSupported () const { return true ; }
1672
1672
1673
+ #if PXR_VERSION >= 2203
1673
1674
bool HdArnoldRenderDelegate::Stop (bool blocking)
1675
+ #else
1676
+ bool HdArnoldRenderDelegate::Stop ()
1677
+ #endif
1674
1678
{
1675
1679
_renderParam->Pause ();
1676
1680
return true ;
Original file line number Diff line number Diff line change @@ -374,12 +374,16 @@ class HdArnoldRenderDelegate final : public HdRenderDelegate {
374
374
bool IsStopped () const override ;
375
375
#endif
376
376
377
+ #if PXR_VERSION >= 2203
377
378
// / Stop all of this delegate's background rendering threads. Default
378
379
// / implementation does nothing.
379
380
// /
380
381
// / @return True if successful.
381
382
HDARNOLD_API
382
383
bool Stop (bool blocking = true ) override ;
384
+ #else
385
+ bool Stop () override ;
386
+ #endif
383
387
384
388
// / Restart all of this delegate's background rendering threads previously
385
389
// / paused by a call to Stop. Default implementation does nothing.
Original file line number Diff line number Diff line change @@ -77,12 +77,14 @@ class HdArnoldRprim : public HydraType {
77
77
// / @return Pointer to the Render Delegate.
78
78
HdArnoldRenderDelegate* GetRenderDelegate () { return _renderDelegate; }
79
79
80
+ #if PXR_VERSION >= 2203
80
81
// / Tracking render tag changes
81
82
void UpdateRenderTag (HdSceneDelegate *delegate, HdRenderParam *renderParam) override {
82
83
HdRprim::UpdateRenderTag (delegate, renderParam);
83
84
HdArnoldRenderParamInterrupt param (renderParam);
84
85
_shape.UpdateRenderTag (this , delegate, param);
85
86
}
87
+ #endif
86
88
87
89
// / Syncs internal data and arnold state with hydra.
88
90
void SyncShape (
You can’t perform that action at this time.
0 commit comments