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

Function mergeTimePoint

Source/Falcor/RenderGraph/ResourceCache.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void mergeTimePoint(std::pair<uint32_t, uint32_t>& range, uint32_t newTime)
83{
84 range.first = std::min(range.first, newTime);
85 range.second = std::max(range.second, newTime);
86}
87
88void ResourceCache::registerField(
89 const std::string& name,

Callers 1

registerFieldMethod · 0.85

Calls 2

minFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected