* Get a mip-level depth */
| 117 | * Get a mip-level depth |
| 118 | */ |
| 119 | uint32_t getDepth(uint32_t mipLevel = 0) const |
| 120 | { |
| 121 | return (mipLevel == 0) || (mipLevel < mMipLevels) ? std::max(1U, mDepth >> mipLevel) : 0; |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Get the number of mip-levels |
no test coverage detected