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

Function ilLoadExr

DevIL/src-IL/src/il_exr.cpp:174–189  ·  view source on GitHub ↗

Reads an .exr file.

Source from the content-addressed store, hash-verified

172
173//! Reads an .exr file.
174ILboolean ilLoadExr(ILconst_string FileName)
175{
176 ILHANDLE ExrFile;
177 ILboolean bExr = IL_FALSE;
178
179 ExrFile = iopenr(FileName);
180 if (ExrFile == NULL) {
181 ilSetError(IL_COULD_NOT_OPEN_FILE);
182 return bExr;
183 }
184
185 bExr = ilLoadExrF(ExrFile);
186 icloser(ExrFile);
187
188 return bExr;
189}
190
191
192//! Reads an already-opened .exr file

Callers

nothing calls this directly

Calls 2

ilSetErrorFunction · 0.85
ilLoadExrFFunction · 0.70

Tested by

no test coverage detected