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

Function ILAPIENTRY ilTexImageSurface

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

Changes the current bound image to use these new dimensions (current data is destroyed, but mips, faces, layers and arrays are retained). ! \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 NumChannels Number of channels (ex. 3 for RGB) \param Format E

Source from the content-addressed store, hash-verified

179\exception IL_OUT_OF_MEMORY Could not allocate enough memory.
180\return Boolean value of failure or success*/
181ILboolean ILAPIENTRY ilTexImageSurface(ILuint Width, ILuint Height, ILuint Depth, ILubyte NumChannels, ILenum Format, ILenum Type, void *Data)
182{
183 return ilTexImageSurface_(iCurImage, Width, Height, Depth, NumChannels, Format, Type, Data);
184}
185
186
187// Internal version of ilTexImageSurface.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected