MCPcopy Create free account
hub / github.com/DentonW/DevIL / ilIsValidVtfF

Function ilIsValidVtfF

DevIL/src-IL/src/il_vtf.cpp:51–62  ·  view source on GitHub ↗

Checks if the ILHANDLE contains a valid VTF file at the current position.

Source from the content-addressed store, hash-verified

49
50//! Checks if the ILHANDLE contains a valid VTF file at the current position.
51ILboolean ilIsValidVtfF(ILHANDLE File)
52{
53 ILuint FirstPos;
54 ILboolean bRet;
55
56 iSetInputFile(File);
57 FirstPos = itell();
58 bRet = iIsValidVtf();
59 iseek(FirstPos, IL_SEEK_SET);
60
61 return bRet;
62}
63
64
65//! Checks if Lump is a valid VTF lump.

Callers 3

ilIsValidVtfFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidVtfFunction · 0.85

Tested by

no test coverage detected