Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | FLandscapeTextureMipEdgeOverrideProvider |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeTextureStorageProvider.h |
| Include Path | #include "LandscapeTextureStorageProvider.h" |
Syntax
class FLandscapeTextureMipEdgeOverrideProvider : public FTextureMipDataProvider
Inheritance Hierarchy
- FTextureMipDataProvider → FLandscapeTextureMipEdgeOverrideProvider
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLandscapeTextureMipEdgeOverrideProvider
(
ULandscapeHeightmapTextureEdgeFixup* InEdgeFixup, |
This class is actually a "Modifier" in that it doesn't provide any mips, it only modifies mips provided by the default providers It relies on some assumptions about the existing provider execution that are currently true, but may not remain true forever: 1) that all providers are executed, even if they are not actually handling any mips 2) that all default providers do NOT modify mip data in PollMips (this is true for both FTexture2DMipDataProvider_IO and FTexture2DMipDataProvider_DDC currently) this allows us to modify mip data in PollMips and not worry about being stomped on. IF either of these cease to be true, we should probably write a first class FTextureMipDataModifier path, and convert this to be a modifier instead of a provider. | LandscapeTextureStorageProvider.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLandscapeTextureMipEdgeOverrideProvider() |
LandscapeTextureStorageProvider.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DestMipInfos | FTextureMipInfoArray | We make a copy of this, as it is provided in GetMips, and we fill it out in PollMips. | LandscapeTextureStorageProvider.h | |
| EdgeFixup | ULandscapeHeightmapTextureEdgeFixup * | The Edge Fixup (that actually has the edge override data) | LandscapeTextureStorageProvider.h | |
| TextureName | FName | The asset name, used to log IO errors. | LandscapeTextureStorageProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Cancel
(
const FTextureUpdateSyncOptions& SyncOptions |
LandscapeTextureStorageProvider.h | ||
void CleanUp
(
const FTextureUpdateSyncOptions& SyncOptions |
LandscapeTextureStorageProvider.h | ||
ETickThread GetCancelThread() |
LandscapeTextureStorageProvider.h | ||
int32 GetMips
(
const FTextureUpdateContext& Context, |
LandscapeTextureStorageProvider.h | ||
void Init
(
const FTextureUpdateContext& Context, |
********* FLandscapeTextureMipEdgeOverrideProvider implementation ********** | LandscapeTextureStorageProvider.h | |
bool PollMips
(
const FTextureUpdateSyncOptions& SyncOptions |
LandscapeTextureStorageProvider.h |