Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | FLandscapeTextureStorageMipProvider |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeTextureStorageProvider.h |
| Include Path | #include "LandscapeTextureStorageProvider.h" |
Syntax
class FLandscapeTextureStorageMipProvider : public FTextureMipDataProvider
Inheritance Hierarchy
- FTextureMipDataProvider → FLandscapeTextureStorageMipProvider
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLandscapeTextureStorageMipProvider
(
ULandscapeTextureStorageProviderFactory* InFactory |
LandscapeTextureStorageProvider.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLandscapeTextureStorageMipProvider() |
LandscapeTextureStorageProvider.h |
Structs
| Name | Remarks |
|---|---|
| FIORequest | A structured with information about which file contains which mips. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AsyncFileCallBack | FBulkDataIORequestCallBack | A callback to be executed once all IO pending requests are completed. | LandscapeTextureStorageProvider.h | |
| bIORequestAborted | bool | Whether async read requests were required to abort through AbortPollMips(). | LandscapeTextureStorageProvider.h | |
| bIORequestCancelled | bool | Whether async read requests where cancelled for any reasons. | LandscapeTextureStorageProvider.h | |
| bPrioritizedIORequest | bool | Whether async read requests must be created with high priority (executes faster). | LandscapeTextureStorageProvider.h | |
| DestMipInfos | FTextureMipInfoArray | We make a copy of this, as it is provided in GetMips, and we fill it out in PollMips. | LandscapeTextureStorageProvider.h | |
| Factory | ULandscapeTextureStorageProviderFactory * | The Factory (that actually has the mip data) | LandscapeTextureStorageProvider.h | |
| FirstRequestedMipIndex | int32 | LandscapeTextureStorageProvider.h | ||
| IORequests | TArray< FIORequest, TInlineAllocator< MAX_TEXTURE_MIP_COUNT > > | Pending async requests created in GetMips(). | LandscapeTextureStorageProvider.h | |
| TextureName | FName | The asset name, used to log IO errors. | LandscapeTextureStorageProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AbortPollMips() |
LandscapeTextureStorageProvider.h | ||
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, |
********* FLandscapeTextureStorageMipProvider implementation ********** | LandscapeTextureStorageProvider.h | |
bool PollMips
(
const FTextureUpdateSyncOptions& SyncOptions |
LandscapeTextureStorageProvider.h |