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

Method Clear

src/engine/MaterialBindingCache.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void donut::engine::MaterialBindingCache::Clear()
102{
103 std::lock_guard<std::mutex> lockGuard(m_Mutex);
104
105 m_BindingSets.clear();
106}
107
108nvrhi::BindingSetItem MaterialBindingCache::GetTextureBindingSetItem(uint32_t slot, const std::shared_ptr<LoadedTexture>& texture) const
109{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected