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

Method ~DescriptorHandle

src/engine/DescriptorTableManager.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36donut::engine::DescriptorHandle::~DescriptorHandle()
37{
38 if (m_DescriptorIndex >= 0)
39 {
40 auto managerPtr = m_Manager.lock();
41 if (managerPtr)
42 managerPtr->ReleaseDescriptor(m_DescriptorIndex);
43 m_DescriptorIndex = -1;
44 }
45}
46
47donut::engine::DescriptorIndex donut::engine::DescriptorHandle::GetIndexInHeap() const
48{

Callers

nothing calls this directly

Calls 1

ReleaseDescriptorMethod · 0.80

Tested by

no test coverage detected