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

Function ILAPIENTRY ilTexImage

DevIL/src-IL/src/il_devil.cpp:126–129  ·  view source on GitHub ↗

Changes the current bound image to use these new dimensions (current data is destroyed). ! \param Width Specifies the new image width. This cannot be 0. \param Height Specifies the new image height. This cannot be 0. \param Depth Specifies the new image depth. This cannot be 0. \param Bpp Number of channels (ex. 3 for RGB) \param Format Enum of the desired format. Any format values are acc

Source from the content-addressed store, hash-verified

124 \exception IL_OUT_OF_MEMORY Could not allocate enough memory.
125 \return Boolean value of failure or success*/
126ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, void *Data)
127{
128 return ilTexImage_(iCurImage, Width, Height, Depth, Bpp, Format, Type, Data);
129}
130
131
132// Internal version of ilTexImage.

Callers

nothing calls this directly

Calls 1

ilTexImage_Function · 0.85

Tested by

no test coverage detected