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

Method GetTextureUsageFlag

src/game/editor/editor.cpp:7017–7020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7015}
7016
7017int CEditor::GetTextureUsageFlag() const
7018{
7019 return Graphics()->Uses2DTextureArrays() ? IGraphics::TEXLOAD_TO_2D_ARRAY_TEXTURE : IGraphics::TEXLOAD_TO_3D_TEXTURE;
7020}
7021
7022IGraphics::CTextureHandle CEditor::GetFrontTexture()
7023{

Callers 2

PopupEntitiesMethod · 0.80

Calls 2

GraphicsFunction · 0.85
Uses2DTextureArraysMethod · 0.45

Tested by

no test coverage detected