![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| uint8 | ClampNumMips (uint8 InNumMips, const FIntPoint &InDim) |
| uint8 | CalcGeneratedNumMips (const IMediaTextureSample &InSample, bool bInEnableGenMips) |
| Calculates the target number of generated mips for a given sample. | |
| uint8 | CalcTextureNumMips (const IMediaTextureSample &InSample, bool bInEnableGenMips) |
| Calculates the expected texture resource number of mips for the given sample. Sample source mips take priority over generated ones. | |
| uint8 UE::MediaTexture::Private::CalcGeneratedNumMips | ( | const IMediaTextureSample & | InSample, |
| bool | bInEnableGenMips | ||
| ) |
Calculates the target number of generated mips for a given sample.
| InSample | Decoded sample. |
| bInEnableGenMips | Indicate if mip generation is enabled. |
| uint8 UE::MediaTexture::Private::CalcTextureNumMips | ( | const IMediaTextureSample & | InSample, |
| bool | bInEnableGenMips | ||
| ) |
Calculates the expected texture resource number of mips for the given sample. Sample source mips take priority over generated ones.
| InSample | Decoded sample. |
| bInEnableGenMips | Indicate if mip generation is enabled. |