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

Method UseTexture

src/game/map/render_layer.cpp:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void CRenderLayer::UseTexture(IGraphics::CTextureHandle TextureHandle)
188{
189 if(TextureHandle.IsValid())
190 Graphics()->TextureSet(TextureHandle);
191 else
192 Graphics()->TextureClear();
193}
194
195void CRenderLayer::RenderLoading() const
196{

Callers

nothing calls this directly

Calls 4

GraphicsFunction · 0.85
TextureSetMethod · 0.80
TextureClearMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected