UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Texture2DStreamIn_DDC.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4Texture2DStreamIn_DDC.h: Stream in helper for 2D textures loading DDC files.
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "Memory/SharedBuffer.h"
11#include "Texture2DStreamIn.h"
13
14#if WITH_EDITORONLY_DATA
15#include "DerivedDataRequestOwner.h"
16
18
20{
21public:
22
25
26protected:
27
29 {
31 bool bRequestIssued = false;
32 };
33
35 UE::DerivedData::FRequestOwner DDCRequestOwner;
37
38 // ****************************
39 // ********* Helpers **********
40 // ****************************
41
42 // Create DDC load requests
43 void DoCreateAsyncDDCRequests(const FContext& Context);
44
45 // Create DDC load requests
46 bool DoPoolDDCRequests(const FContext& Context);
47
48 // Load from DDC into MipData
49 void DoLoadNewMipsFromDDC(const FContext& Context);
50};
51
52#endif // WITH_EDITORONLY_DATA
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SharedBuffer.h:341
Definition Texture2DStreamIn.h:14
Definition Array.h:670
Definition Texture2D.h:26
Definition WeakObjectPtrTemplates.h:25