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

Function ilSaveDdsF

DevIL/src-IL/src/il_dds-save.cpp:50–58  ·  view source on GitHub ↗

Writes a Dds to an already-opened file

Source from the content-addressed store, hash-verified

48
49//! Writes a Dds to an already-opened file
50ILuint ilSaveDdsF(ILHANDLE File)
51{
52 ILuint Pos;
53 iSetOutputFile(File);
54 Pos = itellw();
55 if (iSaveDdsInternal() == IL_FALSE)
56 return 0; // Error occurred
57 return itellw() - Pos; // Return the number of bytes written.
58}
59
60
61//! Writes a Dds to a memory "lump"

Callers 2

ilSaveDdsFunction · 0.85
ILAPIENTRY ilSaveFFunction · 0.85

Calls 2

iSetOutputFileFunction · 0.85
iSaveDdsInternalFunction · 0.85

Tested by

no test coverage detected