Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h |
Include |
#include "Streaming/TextureMipDataProvider.h" |
void Init
(
const FTextureUpdateContext & Context,
const FTextureUpdateSyncOptions & SyncOptions
)
Initialize data prelimary to the GetMips() step. Can be called several time. 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.
Parameter |
Description |
---|---|
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. |