MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / FromCodes

Method FromCodes

IntelPresentMon/Core/source/win/ModSet.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 ModSet ModSet::FromCodes(const std::vector<uint32_t>& codes)
145 {
146 uint32_t combined = 0;
147 for (auto& code : codes) {
148 combined |= code;
149 }
150 return { combined };
151 }
152}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected