LiteFX::Rendering::IImage::extent¶
Gets the extent of the image at a certain mip-map level.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual Size3d extent(UInt32 level = 0) const noexcept = 0;
Description¶
Not all components of the extent are actually used. Check the dimensions to see, which components are required. The extent will be 0 for invalid mip-map levels and 1 or more for valid mip map levels.
Return Value¶
The extent of the image at a certain mip-map level.
Parameters¶
| Name | Description |
|---|---|
| level | A type for an unsigned 32 bit integer. |
See Also¶
dimensions