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

Method Draw

IntelPresentMon/Core/source/gfx/layout/Element.cpp:143–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void Element::Draw(Graphics& gfx) const
144 {
145 if (attrCache->display == Display::Visible)
146 {
147 if (pBorder)
148 {
149 pBorder->Draw(gfx);
150 }
151 if (pBackground)
152 {
153 pBackground->Draw(gfx);
154 }
155
156 Draw_(gfx);
157 }
158 }
159
160 Element::~Element()
161 {}

Callers 3

Draw_Method · 0.45
Draw_Method · 0.45
Render_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected