| 48 | } |
| 49 | |
| 50 | LLGL_EXPORT std::uint32_t NumMipTexels(const TextureType type, const Extent3D& extent, std::uint32_t mipLevel) |
| 51 | { |
| 52 | auto mipExtent = GetMipExtent(type, extent, mipLevel); |
| 53 | return (mipExtent.width * mipExtent.height * mipExtent.depth); |
| 54 | } |
| 55 | |
| 56 | LLGL_EXPORT std::uint32_t NumMipTexels(const TextureType type, const Extent3D& extent, const TextureSubresource& subresource) |
| 57 | { |
nothing calls this directly
no test coverage detected