| 46 | } |
| 47 | |
| 48 | void HnBeginMainPassTask::Sync(pxr::HdSceneDelegate* Delegate, |
| 49 | pxr::HdTaskContext* TaskCtx, |
| 50 | pxr::HdDirtyBits* DirtyBits) |
| 51 | { |
| 52 | if (*DirtyBits & pxr::HdChangeTracker::DirtyParams) |
| 53 | { |
| 54 | HnBeginMainPassTaskParams Params; |
| 55 | if (GetTaskParams(Delegate, Params)) |
| 56 | { |
| 57 | (*TaskCtx)[HnRenderResourceTokens->suspendSuperSampling] = pxr::VtValue{true}; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | *DirtyBits = pxr::HdChangeTracker::Clean; |
| 62 | } |
| 63 | |
| 64 | void HnBeginMainPassTask::Prepare(pxr::HdTaskContext* TaskCtx, |
| 65 | pxr::HdRenderIndex* RenderIndex) |
nothing calls this directly
no outgoing calls
no test coverage detected