MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetFrontTexture

Method GetFrontTexture

src/game/editor/editor.cpp:7022–7027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7020}
7021
7022IGraphics::CTextureHandle CEditor::GetFrontTexture()
7023{
7024 if(!m_FrontTexture.IsValid())
7025 m_FrontTexture = Graphics()->LoadTexture("editor/front.png", IStorage::TYPE_ALL, GetTextureUsageFlag());
7026 return m_FrontTexture;
7027}
7028
7029IGraphics::CTextureHandle CEditor::GetTeleTexture()
7030{

Callers 1

RenderMethod · 0.80

Calls 3

GraphicsFunction · 0.85
LoadTextureMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected