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

Method getDepth

Engine/source/gfx/bitmap/ddsFile.h:159–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 U32 getWidth( U32 mipLevel = 0 ) const { return getMax( U32(1), mWidth >> mipLevel ); }
158 U32 getHeight( U32 mipLevel = 0 ) const { return getMax(U32(1), mHeight >> mipLevel); }
159 U32 getDepth( U32 mipLevel = 0 ) const { return getMax(U32(1), mDepth >> mipLevel); }
160
161 U32 getMipLevels() const { return mMipMapCount; }
162

Callers 5

lockMethod · 0.45
unlockMethod · 0.45
_loadTextureMethod · 0.45
_refreshTextureMethod · 0.45
getImageInfoMethod · 0.45

Calls 2

getMaxFunction · 0.85
U32Enum · 0.50

Tested by

no test coverage detected