Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h |
Include |
#include "Streaming/TextureMipDataProvider.h" |
class FTextureMipDataProvider
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.
Name | Description | |
---|---|---|
|
FTextureMipDataProvider ( |
Constructor, defining the first tick step and thread. |
Name | Description | |
---|---|---|
|
~FTextureMipDataProvider() |
Name | Description | ||
---|---|---|---|
|
AbortPollMips() |
Abort anything that could be stalling the update in PollMips(). |
|
|
AdvanceTo ( |
Helper to set the next tick state and thread. Validates that the progression is coherent. |
|
|
Cancel ( |
Cancel the progression and release any temporary resources. |
|
|
CleanUp ( |
Release any temporary data and objects that where used for the update. |
|
|
GetCancelThread() |
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. |
|
|
GetMips ( |
Acquire the mips this provider will handle. |
|
|
GetNextTickState() |
Get the next tick state and thread for the mip allocator. Used by FTextureStreamIn to schedule correctly the update between FTextureMipAllocator and FTextureMipDataProvider. |
|
|
GetNextTickThread() |
||
|
Init ( |
Initialize data prelimary to the GetMips() step. |
|
|
PollMips ( |
Check if each mip handled by this mip data provider have been updated correctly. |
Name |
Description |
|
---|---|---|
|
ETickState |
|
|
ETickThread |