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

Method releaseDevice

Source/Falcor/Testing/UnitTest.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void releaseDevice(ref<Device>&& device)
108 {
109 std::lock_guard<std::mutex> lock(mMutex);
110 mDevices[device->getType()].push_back(device);
111 }
112
113private:
114 Device::Desc mDefaultDesc;

Callers 1

runTestFunction · 0.80

Calls 2

push_backMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected