getMipLevelHeight method
- int mipLevel
Returns the height of the texture at mipLevel, clamped at 1.
Implementation
int getMipLevelHeight(int mipLevel) {
_validateMipLevel(mipLevel);
final int mipHeight = height >> mipLevel;
return mipHeight > 0 ? mipHeight : 1;
}