UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Texture2DStreamIn_DDC_AsyncCreate.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
/*=============================================================================
4
Texture2DStreamIn_DDC_AsyncCreate.h: Load texture 2D mips from the DDC using async create.
5
=============================================================================*/
6
7
#pragma once
8
9
#include "
CoreMinimal.h
"
10
#include "
Texture2DStreamIn_DDC.h
"
11
12
#if WITH_EDITORONLY_DATA
13
14
class
FTexture2DStreamIn_DDC_AsyncCreate
:
public
FTexture2DStreamIn_DDC
15
{
16
public
:
17
18
FTexture2DStreamIn_DDC_AsyncCreate
(
UTexture2D
*
InTexture
);
19
20
protected
:
21
22
// ****************************
23
// ******* Update Steps *******
24
// ****************************
25
26
// Create DDC requests for each mips. (AsyncThread)
27
void
AsyncDDC
(
const
FContext&
Context
);
28
// Poll DDC requests completion for each mips. (AsyncThread)
29
void
PollDDC
(
const
FContext&
Context
);
30
// Allocate the MipData (AsyncThread)
31
void
AllocateAndLoadMips(
const
FContext&
Context
);
32
// Create load requests into each locked mips. (AsyncThread)
33
void
AsyncCreate(
const
FContext&
Context
);
34
// Apply the intermediate texture and cleanup. (RenderThread)
35
void
Finalize
(
const
FContext&
Context
);
36
37
// ****************************
38
// ******* Cancel Steps *******
39
// ****************************
40
41
// Cancel the update. (RenderThread)
42
void
Cancel
(
const
FContext&
Context
);
43
};
44
45
#endif
// WITH_EDITORONLY_DATA
EAsyncPackageLoadingState2::Finalize
@ Finalize
EAsyncTaskNotificationPromptAction::Cancel
@ Cancel
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Texture2DStreamIn_DDC.h
EVulkanSyncPointType::Context
@ Context
UTexture2D
Definition
Texture2D.h:26
Engine
Source
Runtime
Engine
Private
Streaming
Texture2DStreamIn_DDC_AsyncCreate.h
Generated by
1.9.8