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

Function ilSaveDdsL

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

Writes a Dds to a memory "lump"

Source from the content-addressed store, hash-verified

60
61//! Writes a Dds to a memory "lump"
62ILuint ilSaveDdsL(void *Lump, ILuint Size)
63{
64 ILuint Pos;
65 iSetOutputLump(Lump, Size);
66 Pos = itellw();
67 if (iSaveDdsInternal() == IL_FALSE)
68 return 0; // Error occurred
69 return itellw() - Pos; // Return the number of bytes written.
70}
71
72
73//! Checks if an image is a cubemap

Callers 2

ilDetermineSizeFunction · 0.85
ILAPIENTRY ilSaveLFunction · 0.85

Calls 2

iSetOutputLumpFunction · 0.85
iSaveDdsInternalFunction · 0.85

Tested by

no test coverage detected