Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTextureLODSettings
- UDeviceProfile
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Engine/TextureLODSettings.h |
| Include | #include "Engine/TextureLODSettings.h" |
Syntax
class UTextureLODSettings : public UObject
Remarks
Structure containing all information related to an LOD group and providing helper functions to calculate the LOD bias of a given group.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FTextureLODGroup > | TextureLODGroups | Array of LOD settings with entries per group. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UTextureLODSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | CalculateLODBias
(
const UTexture* Texture, |
Calculates and returns the LOD bias based on texture LOD group, LOD bias and maximum size. | |
| int32 | CalculateLODBias
(
int32 Width, |
Calculates and returns the LOD bias based on the information provided. | |
| int32 | CalculateNumOptionalMips
(
int32 LODGroup, |
Calculate num optional mips | |
| void | GetDownscaleOptions
(
const UTexture& Texture, |
||
| void | GetMipGenSettings
(
const UTexture& Texture, |
||
| ETextureMipLoadOptions | GetMipLoadOptions
(
const UTexture* Texture |
Returns the mip load options of a texture. | |
| ETextureSamplerFilter | GetSamplerFilter
(
const UTexture* Texture |
Returns the filter state that should be used for the passed in texture, taking into account other system settings. | |
| ETextureSamplerFilter | GetSamplerFilter
(
int32 InLODGroup |
||
| TArray< FString > | Returns the texture group names, sorted like enum. | ||
| FTextureLODGroup & | GetTextureLODGroup
(
TextureGroup GroupIndex |
TextureLODGroups access with bounds check | |
| const FTextureLODGroup & | GetTextureLODGroup
(
TextureGroup GroupIndex |
TextureLODGroups access with bounds check | |
| const TextureMipGenSettings | GetTextureMipGenSettings
(
int32 InLODGroup |
Returns the LODGroup mip gen settings | |
| void | SetupLODGroup
(
int32 GroupId |