| 238 | } |
| 239 | |
| 240 | void GPUTexture::GetMipSize(int32 mipLevelIndex, int32& mipWidth, int32& mipHeight) const |
| 241 | { |
| 242 | ASSERT(mipLevelIndex >= 0 && mipLevelIndex < MipLevels()); |
| 243 | mipWidth = Math::Max(1, Width() >> mipLevelIndex); |
| 244 | mipHeight = Math::Max(1, Height() >> mipLevelIndex); |
| 245 | } |
| 246 | |
| 247 | void GPUTexture::GetMipSize(int32 mipLevelIndex, int32& mipWidth, int32& mipHeight, int32& mipDepth) const |
| 248 | { |
no test coverage detected