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

Function MakeColorRaw

IntelPresentMon/UnitTests/Style.cpp:19–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17using namespace Microsoft::VisualStudio::CppUnitTestFramework;
18
19p2c::gfx::lay::sty::at::RawAttributeObjectValue MakeColorRaw(int r, int g, int b, float a)
20{
21 using namespace p2c;
22 using namespace gfx;
23 using namespace lay;
24
25 return sty::at::RawAttributeObjectValue{
26 {"r", (double)r},
27 {"g", (double)g},
28 {"b", (double)b},
29 {"a", a},
30 };
31}
32
33namespace LayoutTests
34{

Callers 1

TEST_METHODFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected