Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTextureMipDataProvider
Description
Initialize data prelimary to the GetMips() step. Can be called several time (it does not have to advance to GetMips immediately). Mostly useful to simplify the logic in GetMips(). This is because GetMips is a chained call between all mip data providers, each taking some mips to handle, and is not compatible with multi step process. This means that GetMips() must return immediately and can not postpone or delay return by not advancing to the next steps.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h |
| Include Path | #include "Streaming/TextureMipDataProvider.h" |
void Init
(
const FTextureUpdateContext & Context,
const FTextureUpdateSyncOptions & SyncOptions
)
Parameters
| Name | Remarks |
|---|---|
| Context | An update context constant throughout the FTextureStreamIn update. Gives things like which texture asset is updated and what mips are streamed in. |
| SyncOptions | Different sync options to control when the next tick of FTextureStreamIn can be scheduled. |