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

Function iSetInputLump

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

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

Source from the content-addressed store, hash-verified

316
317// Tells DevIL that we're reading from a lump, not a file
318void iSetInputLump(const void *Lump, ILuint Size)
319{
320 ieof = iEofLump;
321 igetc = iGetcLump;
322 iread = iReadLump;
323 iseek = iSeekRLump;
324 itell = iTellRLump;
325 ReadLump = Lump;
326 ReadLumpPos = 0;
327 ReadLumpSize = Size;
328}
329
330
331// Tells DevIL that we're writing to a file, not a lump

Callers 15

ilIsValidLifLFunction · 0.85
ilLoadLifLFunction · 0.85
ilIsValidPicLFunction · 0.85
ilLoadPicLFunction · 0.85
ilIsValidSgiLFunction · 0.85
ilLoadSgiLFunction · 0.85
ilLoadMngLFunction · 0.85
ilLoadIffLFunction · 0.85
ilIsValidTiffLFunction · 0.85
ilLoadTiffLFunction · 0.85
ilIsValidJp2LFunction · 0.85
ilIsValidDcxLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected