MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / DrawTexture

Method DrawTexture

ogsr_engine/xrGame/ui/UI3tButton.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159void CUI3tButton::SetTextureOffset(float x, float y) { this->m_background.SetTextureOffset(x, y); }
160
161void CUI3tButton::DrawTexture()
162{
163 if (m_bTextureEnable)
164 {
165 m_background.Draw();
166 }
167}
168
169void CUI3tButton::Update()
170{

Callers

nothing calls this directly

Calls 1

DrawMethod · 0.45

Tested by

no test coverage detected