UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Texture2DStreamIn_IO_AsyncCreate.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4Texture2DStreamIn_IO_AsyncCreate.h: Async create path for streaming in texture 2D mips.
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
11
13{
14public:
15
17
18protected:
19
20
21 // ****************************
22 // ******* Update Steps *******
23 // ****************************
24
25 // Allocate the MipData (AsyncThread)
27 // Create load requests into each locked mips. (AsyncThread)
28 void AsyncCreate(const FContext& Context);
29 // Apply the intermediate texture and cleanup. (RenderThread)
30 void Finalize(const FContext& Context);
31
32 // ****************************
33 // ******* Cancel Steps *******
34 // ****************************
35
36 // Cancel pending IO then cancel (Async)
37 void CancelIO(const FContext& Context);
38 // Cancel the update. (RenderThread)
39 void Cancel(const FContext& Context);
40
41};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Texture2DStreamIn_IO_AsyncCreate.h:13
void AllocateAndLoadMips(const FContext &Context)
Definition Texture2DStreamIn_IO_AsyncCreate.cpp:21
void CancelIO(const FContext &Context)
Definition Texture2DStreamIn_IO_AsyncCreate.cpp:58
void AsyncCreate(const FContext &Context)
Definition Texture2DStreamIn_IO_AsyncCreate.cpp:33
Definition Texture2DStreamIn_IO.h:16
Definition Texture2D.h:26
Definition Texture2DUpdate.h:23