MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / invalidateViews

Method invalidateViews

Source/Falcor/Core/API/Resource.cpp:109–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void Resource::invalidateViews() const
110{
111 auto invalidateAll = [](auto& vec)
112 {
113 for (const auto& item : vec)
114 item.second->invalidate();
115 vec.clear();
116 };
117
118 invalidateAll(mSrvs);
119 invalidateAll(mUavs);
120 invalidateAll(mRtvs);
121 invalidateAll(mDsvs);
122}
123
124void Resource::setName(const std::string& name)
125{

Callers

nothing calls this directly

Calls 2

invalidateMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected