UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Texture2DStreamOut_AsyncCreate.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4Texture2DStreamOut_AsyncReallocate.h: Stream out logic for texture 2D.
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "Texture2DUpdate.h"
11
13{
14public:
15
17
18protected:
19
20 // ****************************
21 // ******* Update Steps *******
22 // ****************************
23
24 // Create the new texture on the async thread. (AsyncThread)
25 void AsyncCreate(const FContext& Context);
26 // Apply the intermediate texture and cleanup. (RenderThread)
27 void Finalize(const FContext& Context);
28
29 // ****************************
30 // ******* Cancel Steps *******
31 // ****************************
32
33 // Cancel the update. (RenderThread)
34 void Cancel(const FContext& Context);
35};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Texture2DStreamOut_AsyncCreate.h:13
void AsyncCreate(const FContext &Context)
Definition Texture2DStreamOut_AsyncCreate.cpp:27
Definition Texture2DUpdate.h:54
Definition Texture2D.h:26
Definition Texture2DUpdate.h:23