Navigation
API > API/Runtime > API/Runtime/Landscape
Serves as a hook into the texture streaming process, allowing us to inject edge data
| Name | ULandscapeTextureMipEdgeOverrideFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeTextureStorageProvider.h |
| Include Path | #include "LandscapeTextureStorageProvider.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Within=Texture2D)
class ULandscapeTextureMipEdgeOverrideFactory : public UTextureMipDataProviderFactory
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetUserData → UTextureMipDataProviderFactory → ULandscapeTextureMipEdgeOverrideFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULandscapeTextureMipEdgeOverrideFactory
(
const FObjectInitializer& ObjectInitializer |
LandscapeTextureStorageProvider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EdgeFixup | TObjectPtr< ULandscapeHeightmapTextureEdgeFixup > | LandscapeTextureStorageProvider.h | ||
| Texture | TObjectPtr< UTexture2D > | LandscapeTextureStorageProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTextureMipDataProvider * AllocateMipDataProvider
(
UTexture* Asset |
Create a FTextureMipDataProvider to handle a single StreamIn mip operation. | LandscapeTextureStorageProvider.h | |
virtual void Serialize
(
FArchive& Ar |
LandscapeTextureStorageProvider.h | ||
void SetupEdgeFixup
(
ULandscapeHeightmapTextureEdgeFixup* InEdgeFixup |
LandscapeTextureStorageProvider.h | ||
virtual bool WillProvideMipDataWithoutDisk() |
Returns true if TextureMipDataProviders allocated by this factory can provide MipData by themselves, even without loading from disk at all, so streaming can be enabled for their textures. | LandscapeTextureStorageProvider.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
LandscapeTextureStorageProvider.h | ||
static ULandscapeTextureMipEdgeOverrideFactory * AddTo
(
UTexture2D* TargetTexture |
LandscapeTextureStorageProvider.h |