Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Calculates the extent of a mip.
Incorrectly forces min mip size to be block dimensions: UE-159189
| Name | CalcMipMapExtent |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderUtils.h |
| Include Path | #include "RenderUtils.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp |
FIntPoint CalcMipMapExtent
(
uint32 TextureSizeX,
uint32 TextureSizeY,
EPixelFormat Format,
uint32 MipIndex
)
Parameters
| Name | Remarks |
|---|---|
| TextureSizeX | Number of horizontal texels (for the base mip-level) |
| TextureSizeY | Number of vertical texels (for the base mip-level) |
| Format | Texture format |
| MipIndex | The index of the mip-map to compute the size of. |