MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ViewDescriptorStore

Method ViewDescriptorStore

qrenderdoc/Windows/DescriptorViewer.cpp:1385–1404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1383}
1384
1385void DescriptorViewer::ViewDescriptorStore(ResourceId id)
1386{
1387 DescriptorStoreDescription *desc = m_Ctx.GetDescriptorStore(id);
1388
1389 if(!desc)
1390 {
1391 qCritical() << "Invalid ID passed to ViewDescriptorStore";
1392 return;
1393 }
1394
1395 m_DescriptorStore = *desc;
1396
1397 setWindowTitle(tr("%1 contents").arg(m_Ctx.GetResourceName(m_DescriptorStore.resourceId)));
1398
1399 ui->pipeLabel->setText(
1400 tr("The pipeline state viewer shows the current bindings in an easier format."));
1401
1402 // refresh contents for the descriptor store
1403 OnEventChanged(m_Ctx.CurEvent());
1404}
1405
1406void DescriptorViewer::ViewDescriptors(const rdcarray<Descriptor> &descriptors,
1407 const rdcarray<SamplerDescriptor> &samplerDescriptors)

Callers 3

DescriptorViewerMethod · 0.45
descSet_itemActivatedMethod · 0.45

Calls 6

trFunction · 0.50
GetDescriptorStoreMethod · 0.45
argMethod · 0.45
GetResourceNameMethod · 0.45
setTextMethod · 0.45
CurEventMethod · 0.45

Tested by 1