MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / Prepare

Method Prepare

Hydrogent/src/Tasks/HnReadRprimIdTask.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void HnReadRprimIdTask::Prepare(pxr::HdTaskContext* TaskCtx,
63 pxr::HdRenderIndex* RenderIndex)
64{
65 m_RenderIndex = RenderIndex;
66
67 if (!m_MeshIdReadBackQueue)
68 {
69 HnRenderDelegate* RenderDelegate = static_cast<HnRenderDelegate*>(m_RenderIndex->GetRenderDelegate());
70 m_MeshIdReadBackQueue = std::make_unique<MeshIdReadBackQueueType>(RenderDelegate->GetDevice());
71 }
72}
73
74void HnReadRprimIdTask::Execute(pxr::HdTaskContext* TaskCtx)
75{

Callers

nothing calls this directly

Calls 1

GetDeviceMethod · 0.45

Tested by

no test coverage detected