| 497 | } |
| 498 | |
| 499 | Extent3D getMipExtent( ImageViewId const & image )noexcept |
| 500 | { |
| 501 | auto result = getExtent( image.data->image ); |
| 502 | result.width >>= getSubresourceRange( image ).baseMipLevel; |
| 503 | result.height >>= getSubresourceRange( image ).baseMipLevel; |
| 504 | result.depth >>= getSubresourceRange( image ).baseMipLevel; |
| 505 | return result; |
| 506 | } |
| 507 | |
| 508 | PixelFormat getFormat( ImageId const & image )noexcept |
| 509 | { |