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

Method ToWString

IntelPresentMon/Core/source/gfx/base/Geometry.h:212–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 return { 0.f, 0.f, 1.f, alpha };
211 }
212 std::wstring ToWString() const
213 {
214 return std::format(L"r{:.2f}g{:.2f}b{:.2f}a{:.2f}", r, g, b, a);
215 }
216 std::array<float, 4> AsArray() const
217 {
218 return { r, g, b, a };

Callers 3

OpenMethod · 0.80
AsWStringMethod · 0.80
ExecuteOnBrowserMethod · 0.80

Calls

no outgoing calls

Tested by 1

ExecuteOnBrowserMethod · 0.64