MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetDescriptor

Method GetDescriptor

src/engine/DescriptorTableManager.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 m_SearchStart = index + 1;
121 m_AllocatedDescriptors[index] = true;
122 m_Descriptors[index] = item;
123 m_DescriptorIndexMap[item] = index;
124 m_Device->writeDescriptorTable(m_DescriptorTable, item);
125
126 if (item.resourceHandle)
127 item.resourceHandle->AddRef();
128
129 return index;
130}
131

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected