| 24 | } |
| 25 | |
| 26 | std::uint32_t Texture::GetMemoryFootprint() const |
| 27 | { |
| 28 | const auto desc = GetDesc(); |
| 29 | return LLGL::GetMemoryFootprint(GetType(), desc.format, desc.extent, TextureSubresource{ 0, desc.arrayLayers, 0, desc.mipLevels }); |
| 30 | } |
| 31 | |
| 32 | std::uint32_t Texture::GetMemoryFootprint(const Extent3D& extent, const TextureSubresource& subresource) const |
| 33 | { |
no test coverage detected