MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY ilLoadDataF

Function ILAPIENTRY ilLoadDataF

DevIL/src-IL/src/il_rawdata.cpp:47–58  ·  view source on GitHub ↗

Reads an already-opened raw data file

Source from the content-addressed store, hash-verified

45
46//! Reads an already-opened raw data file
47ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp)
48{
49 ILuint FirstPos;
50 ILboolean bRet;
51
52 iSetInputFile(File);
53 FirstPos = itell();
54 bRet = iLoadDataInternal(Width, Height, Depth, Bpp);
55 iseek(FirstPos, IL_SEEK_SET);
56
57 return bRet;
58}
59
60
61//! Reads from a raw data memory "lump"

Callers

nothing calls this directly

Calls 2

iSetInputFileFunction · 0.85
iLoadDataInternalFunction · 0.85

Tested by

no test coverage detected