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

Function ilIsValidExrF

DevIL/src-IL/src/il_exr.cpp:70–81  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

68
69//! Checks if the ILHANDLE contains a valid EXR file at the current position.
70ILboolean ilIsValidExrF(ILHANDLE File)
71{
72 ILuint FirstPos;
73 ILboolean bRet;
74
75 iSetInputFile(File);
76 FirstPos = itell();
77 bRet = iIsValidExr();
78 iseek(FirstPos, IL_SEEK_SET);
79
80 return bRet;
81}
82
83
84//! Checks if Lump is a valid EXR lump.

Callers 1

ilIsValidExrFunction · 0.70

Calls 2

iSetInputFileFunction · 0.85
iIsValidExrFunction · 0.70

Tested by

no test coverage detected