MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / deleteImage

Method deleteImage

Engine/source/gfx/bitmap/gBitmap.cpp:239–248  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

237
238//--------------------------------------------------------------------------
239void GBitmap::deleteImage()
240{
241 delete [] mBits;
242 mBits = NULL;
243 mByteSize = 0;
244
245 mWidth = 0;
246 mHeight = 0;
247 mNumMipLevels = 0;
248}
249
250
251//--------------------------------------------------------------------------

Callers 2

sReadPNGFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected