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

Method getAddress

Engine/source/gfx/bitmap/gBitmap.h:324–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324inline U8* GBitmap::getAddress(const S32 in_x, const S32 in_y, const U32 mipLevel)
325{
326 return (getWritableBits(mipLevel) + ((in_y * getWidth(mipLevel)) + in_x) * mBytesPerPixel);
327}
328
329inline const U8* GBitmap::getAddress(const S32 in_x, const S32 in_y, const U32 mipLevel) const
330{

Callers 15

getIdentifierMethod · 0.80
displaySplashWindowMethod · 0.80
createWindowMethod · 0.80
initNormalizeMethod · 0.80
addBitmapMethod · 0.80
_captureBackBufferMethod · 0.80
decompressToGBitmapMethod · 0.80
copyRectMethod · 0.80
createPaddedBitmapMethod · 0.80
createPow2BitmapMethod · 0.80
sReadTGAFunction · 0.80
_writePNGFunction · 0.80

Calls 1

getWidthFunction · 0.85

Tested by

no test coverage detected