MCPcopy Create free account
hub / github.com/ZDoom/Raze / CheckForTexture

Function CheckForTexture

source/common/scripting/interface/vmnatives.cpp:435–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static int CheckForTexture(const FString& name, int type, int flags)
436{
437 return TexMan.CheckForTexture(name.GetChars(), static_cast<ETextureType>(type), flags).GetIndex();
438}
439
440DEFINE_ACTION_FUNCTION_NATIVE(_TexMan, CheckForTexture, CheckForTexture)
441{

Callers 8

GetTextureIDMethod · 0.85
FindGameTextureMethod · 0.85
AddPatchesMethod · 0.85
AddTexturesForWadMethod · 0.85
AddLocalizedVariantsMethod · 0.85
AddTexturesMethod · 0.85
InitPalettedVersionsMethod · 0.85

Calls 3

CheckForTextureMethod · 0.80
GetIndexMethod · 0.45
GetCharsMethod · 0.45

Tested by

no test coverage detected