Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | ULandscapeTextureStorageProviderFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeTextureStorageProvider.h |
| Include Path | #include "LandscapeTextureStorageProvider.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Within=Texture2D)
class ULandscapeTextureStorageProviderFactory : public UTextureAllMipDataProviderFactory
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetUserData → UTextureMipDataProviderFactory → UTextureAllMipDataProviderFactory → ULandscapeTextureStorageProviderFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULandscapeTextureStorageProviderFactory
(
const FObjectInitializer& ObjectInitializer |
LandscapeTextureStorageProvider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EdgeFixup | TObjectPtr< ULandscapeHeightmapTextureEdgeFixup > | Reference to the edge fixup on the Texture, if any. | LandscapeTextureStorageProvider.h | |
| LandscapeGridScale | FVector | LandscapeTextureStorageProvider.h | ||
| Mips | TArray< FLandscapeTexture2DMipMap > | LandscapeTextureStorageProvider.h | ||
| NumNonOptionalMips | int32 | LandscapeTextureStorageProvider.h | ||
| NumNonStreamingMips | int32 | 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 | |
void DecompressMip
(
uint8* SourceData, |
Decompress the mip data. Currently operates in-place (though this could be changed in the future) | LandscapeTextureStorageProvider.h | |
void DecompressMipOriginalUnoptimized
(
uint8* SourceData, |
LandscapeTextureStorageProvider.h | ||
bool DoesMipDataExist
(
int32 MipIndex |
LandscapeTextureStorageProvider.h | ||
virtual bool GetInitialMipData
(
int32 FirstMipToLoad, |
Load mip data (used to access preloaded inline mips for creating the initial version of the texture) | LandscapeTextureStorageProvider.h | |
const FLandscapeTexture2DMipMap * GetMip
(
int32 MipIndex |
LandscapeTextureStorageProvider.h | ||
virtual FStreamableRenderResourceState GetResourcePostInitState
(
const UTexture* Owner, |
Return the initial streaming state of the texture | LandscapeTextureStorageProvider.h | |
int32 GetTotalBytes() |
LandscapeTextureStorageProvider.h | ||
virtual void Serialize
(
FArchive& Ar |
LandscapeTextureStorageProvider.h | ||
void SetupEdgeFixup
(
ULandscapeHeightmapTextureEdgeFixup* EdgeFixup |
LandscapeTextureStorageProvider.h | ||
void UpdateCompressedDataFromSource
(
UTexture2D* InTargetTexture, |
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 ULandscapeTextureStorageProviderFactory * ApplyTo
(
UTexture2D* InTargetTexture, |
LandscapeTextureStorageProvider.h | ||
static void CompressMipToBulkData
(
int32 MipIndex, |
Compress the mip data. | LandscapeTextureStorageProvider.h | |
static void CopyMipToBulkData
(
int32 MipIndex, |
LandscapeTextureStorageProvider.h |