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

Function ilIsValidDdsF

DevIL/src-IL/src/il_dds.cpp:76–87  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

74
75//! Checks if the ILHANDLE contains a valid .dds file at the current position.
76ILboolean ilIsValidDdsF(ILHANDLE File)
77{
78 ILuint FirstPos;
79 ILboolean bRet;
80
81 iSetInputFile(File);
82 FirstPos = itell();
83 bRet = iIsValidDds();
84 iseek(FirstPos, IL_SEEK_SET);
85
86 return bRet;
87}
88
89
90//! Checks if Lump is a valid .dds lump.

Callers 3

ilIsValidDdsFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidDdsFunction · 0.85

Tested by

no test coverage detected