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

Function ilLoadPcd

DevIL/src-IL/src/il_pcd.cpp:23–38  ·  view source on GitHub ↗

Reads a .pcd file

Source from the content-addressed store, hash-verified

21
22//! Reads a .pcd file
23ILboolean ilLoadPcd(ILconst_string FileName)
24{
25 ILHANDLE PcdFile;
26 ILboolean bPcd = IL_FALSE;
27
28 PcdFile = iopenr(FileName);
29 if (PcdFile == NULL) {
30 ilSetError(IL_COULD_NOT_OPEN_FILE);
31 return bPcd;
32 }
33
34 bPcd = ilLoadPcdF(PcdFile);
35 icloser(PcdFile);
36
37 return bPcd;
38}
39
40
41//! Reads an already-opened .pcd file

Callers 2

ILAPIENTRY ilLoadFunction · 0.85
ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadPcdFFunction · 0.85

Tested by

no test coverage detected