Navigation
API > API/Developer > API/Developer/TextureFormat
Extra data for an encoded texture. This is filled out by platform "child" formats that can potentially tile or otherwise reorganize the mip data for use on the target platform. For platforms that use bog standard "linear" texture data, this is mostly zeroes, but must still be "Valid" data returned by the GetExtendedDataForTexture - notably the MipSizesInBytes.
| Name | FEncodedTextureExtendedData |
| Type | struct |
| Header File | /Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h |
| Include Path | #include "Interfaces/ITextureFormat.h" |
Syntax
struct FEncodedTextureExtendedData
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MAX_TEXTURE_MIP_COUNT | int32 | Copied from RHIDefinitions.h - we expose here to avoid the include. | Interfaces/ITextureFormat.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsTiled | bool | If true, the mip data can't be assumed to be linear. | Interfaces/ITextureFormat.h | |
| bSensitiveToLODBias | bool | If true, this texture might change layouts if top mips are striped (i.e. LODBias is not zero). | Interfaces/ITextureFormat.h | |
| ExtData | uint32 | ExtData is metadata the tiler passes through to the runtime. | Interfaces/ITextureFormat.h | |
| LODBiasIfSensitive | int8 | If bSensitiveToLODBias is set, this is the LODBias for this layout. | Interfaces/ITextureFormat.h | |
| MipSizesInBytes | TArray< uint64, TInlineAllocator< MAX_TEXTURE_MIP_COUNT > > | All generators of this structure are required to fill this structure out even if they are default linear sizes. | Interfaces/ITextureFormat.h | |
| NumMipsInTail | int32 | Some platforms group the smallest mips in to a single bulk chunk of data. | Interfaces/ITextureFormat.h |