Navigation
API > API/Runtime > API/Runtime/Landscape
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAssetUserData
- UTextureMipDataProviderFactory
- UTextureAllMipDataProviderFactory
- ULandscapeTextureStorageProviderFactory
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeTextureStorageProvider.h |
| Include | #include "LandscapeTextureStorageProvider.h" |
Syntax
class ULandscapeTextureStorageProviderFactory : public UTextureAllMipDataProviderFactory
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | LandscapeGridScale | ||
| TArray< FLandscapeTexture2DMipMap > | Mips | ||
| int32 | NumNonOptionalMips | ||
| int32 | NumNonStreamingMips | ||
| TObjectPtr< UTexture2D > | Texture |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ULandscapeTextureStorageProviderFactory
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULandscapeTextureStorageProviderFactory * | ApplyTo
(
UTexture2D* TargetTexture, |
||
| void | CompressMipToBulkData
(
int32 MipIndex, |
Compress the mip data. | |
| void | CopyMipToBulkData
(
int32 MipIndex, |
||
| void | DecompressMip
(
uint8* SourceData, |
Decompress the mip data. Currently operates in-place (though this could be changed in the future) | |
| bool | DoesMipDataExist
(
int32 MipIndex |
||
| const FLandscapeTexture2DMipMap * | GetMip
(
int32 MipIndex |
||
| int32 |
Overridden from UTextureAllMipDataProviderFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | GetInitialMipData
(
int32 FirstMipToLoad, |
Load mip data (used to access preloaded inline mips for creating the initial version of the texture) | |
| FStreamableRenderResourceState | GetResourcePostInitState
(
const UTexture* Owner, |
Return the initial streaming state of the texture |
Overridden from UTextureMipDataProviderFactory
| Type | Name | Description | |
|---|---|---|---|
| FTextureMipDataProvider * | AllocateMipDataProvider
(
UTexture* Asset |
Create a FTextureMipDataProvider to handle a single StreamIn mip operation. | |
| bool | 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. |