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

Function iSetInputFile

DevIL/src-IL/src/il_files.cpp:305–314  ·  view source on GitHub ↗

Tells DevIL that we're reading from a file, not a lump

Source from the content-addressed store, hash-verified

303
304// Tells DevIL that we're reading from a file, not a lump
305void iSetInputFile(ILHANDLE File)
306{
307 ieof = iEofFile;
308 igetc = iGetcFile;
309 iread = iReadFile;
310 iseek = iSeekRFile;
311 itell = iTellRFile;
312 FileRead = File;
313 ReadFileStart = itell();
314}
315
316
317// Tells DevIL that we're reading from a lump, not a file

Callers 15

ilIsValidLifFFunction · 0.85
ilLoadLifFFunction · 0.85
ilIsValidPicFFunction · 0.85
ilLoadPicFFunction · 0.85
ilIsValidSgiFFunction · 0.85
ilLoadSgiFFunction · 0.85
ilLoadMngFFunction · 0.85
ilLoadIffFFunction · 0.85
ilIsValidTiffFFunction · 0.85
ilLoadTiffFFunction · 0.85
ilIsValidJp2FFunction · 0.85
ilLoadJp2FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected