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

Method FromPlatformCode

IntelPresentMon/Core/source/win/Key.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 }
227
228 std::optional<Key> Key::FromPlatformCode(uint32_t p)
229 {
230 if (auto pDesc = Registry::Get().LookupPlatformCode(p))
231 {
232 return Key{ pDesc->code };
233 }
234 return {};
235 }
236}

Callers

nothing calls this directly

Calls 1

LookupPlatformCodeMethod · 0.80

Tested by

no test coverage detected