Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Streaming
Inheritance Hierarchy
- FTextureMipDataProvider
- FLandscapeTextureStorageMipProvider
- FMutableTextureMipDataProvider
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h |
| Include | #include "Streaming/TextureMipDataProvider.h" |
Syntax
class FTextureMipDataProvider
Remarks
FTextureMipDataProvider defines the update steps and interface to implement the mip data strategy used in FTextureStreamIn. It allows to decouples where the texture mip data source from the texture update. Typical implementations are using DDC, disk files, internet server or dynamically generated.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const int32 | CurrentFirstLODIdx | The resident first LOD resource index. With domain = [0, ResourceState.NumLODs[. NOT THE ASSET LOD INDEX! | |
| const int32 | PendingFirstLODIdx | The requested first LOD resource index. With domain = [0, ResourceState.NumLODs[. NOT THE ASSET LOD INDEX! | |
| const FStreamableRenderResourceState | ResourceState | The streamable state requested. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTextureMipDataProvider
(
const UTexture* Texture, |
Constructor, defining the first tick step and thread. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Abort anything that could be stalling the update in PollMips(). | ||
| void | AdvanceTo
(
ETickState InState, |
Helper to set the next tick state and thread. Validates that the progression is coherent. | |
| void | Cancel
(
const FTextureUpdateSyncOptions& SyncOptions |
Cancel the progression and release any temporary resources. | |
| void | CleanUp
(
const FTextureUpdateSyncOptions& SyncOptions |
Release any temporary data and objects that where used for the update. | |
| ETickThread | Returns on which thread Cancel() must be called in the texture update (from FTextureStreamIn) to release ressources safely and correctly. ETickThread::None when ready to delete this. | ||
| int32 | GetMips
(
const FTextureUpdateContext& Context, |
Acquire the mips this provider will handle. | |
| ETickState | Get the next tick state and thread for the mip allocator. Used by FTextureStreamIn to schedule correctly the update between FTextureMipAllocator and FTextureMipDataProvider. | ||
| ETickThread | |||
| void | Init
(
const FTextureUpdateContext& Context, |
Initialize data prelimary to the GetMips() step. | |
| bool | PollMips
(
const FTextureUpdateSyncOptions& SyncOptions |
Check if each mip handled by this mip data provider have been updated correctly. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ETickState | |||
| ETickThread |