#include <Texture2DStreamIn_DerivedData.h>
|
| typedef FTexture2DUpdateContext | FContext |
| |
| typedef TFunction< void(const FContext &Context)> | FCallback |
| |
| enum | EThreadType {
TT_None
, TT_Render
, TT_Async
, TT_GameThread
,
TT_GameRunningAsync
} |
| |
| enum | ETaskState {
TS_Done
, TS_Suspended
, TS_InProgress
, TS_Locked
,
TS_Init
} |
| |
| | FTexture2DStreamIn (UTexture2D *InTexture) |
| |
| | ~FTexture2DStreamIn () |
| |
| | FTexture2DUpdate (UTexture2D *InTexture) |
| |
| | TRenderAssetUpdate (const UStreamableRenderAsset *InAsset) |
| |
| void | PushTask (const FContext &Context, EThreadType InTaskThread, const FCallback &InTaskCallback, EThreadType InCancelationThread, const FCallback &InCancelationCallback) |
| |
| EThreadType | GetRelevantThread () const final override |
| |
| UE_API | FRenderAssetUpdate (const UStreamableRenderAsset *InAsset) |
| |
| UE_API void | Tick (EThreadType InCurrentThread) |
| |
| bool | IsCompleted () const |
| |
| virtual bool | CanAbandon () const |
| |
| virtual void | OnAbandoned () |
| |
| bool | IsCancelled () const |
| |
| bool | IsSuccessfullyFinished () const |
| |
| UE_API ETaskState | DoLock () |
| |
| UE_API void | DoUnlock (ETaskState PreviousTaskState) |
| |
| bool | IsLocked () const |
| |
| FReturnedRefCountValue | AddRef () const final override |
| |
| UE_API uint32 | Release () const final override |
| |
| uint32 | GetRefCount () const final override |
| |
| virtual | ~IRefCountedObject () |
| |
| typedef FAutoDeleteAsyncTask< FMipUpdateTask > | FAsyncMipUpdateTask |
| |
| TArray< FStreamMipData, TInlineAllocator< MAX_TEXTURE_MIP_COUNT > > | MipData |
| |
| void * | InitialMipDataForAsyncCreate [MAX_TEXTURE_MIP_COUNT] |
| |
| FTextureRHIRef | IntermediateTextureRHI |
| |
| EThreadType | TaskThread |
| |
| FCallback | TaskCallback |
| |
| EThreadType | CancelationThread |
| |
| FCallback | CancelationCallback |
| |
| const FStreamableRenderResourceState | ResourceState |
| |
| const int32 | CurrentFirstLODIdx = INDEX_NONE |
| |
| const int32 | PendingFirstLODIdx = INDEX_NONE |
| |
| FCriticalSection | CS |
| |
| int32 | ScheduledGTTasks |
| |
| int32 | ScheduledRenderTasks |
| |
| int32 | ScheduledAsyncTasks |
| |
| const UStreamableRenderAsset * | StreamableAsset = nullptr |
| |
| FThreadSafeCounter | TaskSynchronization |
| |
| bool | bIsCancelled |
| |
| bool | bDeferExecution |
| |
| bool | bSuccess |
| |
| volatile ETaskState | TaskState |
| |
◆ FTexture2DStreamIn_DerivedData()
| UE::FTexture2DStreamIn_DerivedData::FTexture2DStreamIn_DerivedData |
( |
UTexture2D * |
Texture, |
|
|
bool |
bHighPriority |
|
) |
| |
|
protected |
◆ Abort()
| void UE::FTexture2DStreamIn_DerivedData::Abort |
( |
| ) |
|
|
finalprotectedvirtual |
◆ DoBeginIoRequests()
| void UE::FTexture2DStreamIn_DerivedData::DoBeginIoRequests |
( |
const FContext & |
Context | ) |
|
|
protected |
Begin the async requests to load the pending mips.
◆ DoCancelIoRequests()
| void UE::FTexture2DStreamIn_DerivedData::DoCancelIoRequests |
( |
| ) |
|
|
protected |
Cancel any active async requests. Does not wait!
◆ DoEndIoRequests()
| void UE::FTexture2DStreamIn_DerivedData::DoEndIoRequests |
( |
const FContext & |
Context | ) |
|
|
protected |
Wait until the async requests are complete and clean them up.
◆ DoPollIoRequests()
| bool UE::FTexture2DStreamIn_DerivedData::DoPollIoRequests |
( |
const FContext & |
Context | ) |
|
|
protected |
Poll the async requests and return true if they are complete.
The documentation for this class was generated from the following files: