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

Function iSetOutputLump

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

Tells DevIL that we're writing to a lump, not a file

Source from the content-addressed store, hash-verified

358
359// Tells DevIL that we're writing to a lump, not a file
360void iSetOutputLump(void *Lump, ILuint Size)
361{
362 // In this case, ilDetermineSize is currently trying to determine the
363 // output buffer size. It already has the write functions it needs.
364 if (Lump == NULL)
365 return;
366
367 iputc = iPutcLump;
368 iseekw = iSeekWLump;
369 itellw = iTellWLump;
370 iwrite = iWriteLump;
371 WriteLump = Lump;
372 WriteLumpPos = 0;
373 WriteLumpSize = Size;
374}
375
376
377ILuint ILAPIENTRY ilGetLumpPos()

Callers 15

ilSaveSgiLFunction · 0.85
ilSaveMngLFunction · 0.85
ilSaveTiffLFunction · 0.85
ilSaveJp2LFunction · 0.85
ilSaveRawLFunction · 0.85
ilSavePsdLFunction · 0.85
ilSaveVtfLFunction · 0.85
ilSaveDdsLFunction · 0.85
ILAPIENTRY ilGetDXTCDataFunction · 0.85
ilSaveExrLFunction · 0.85
ilSaveTargaLFunction · 0.85
ilSavePcxLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected