UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DerivedDataGeometryCollectionCooker.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#if WITH_EDITOR
7 #include "DerivedDataPluginInterface.h"
8#endif
9
11
12#if WITH_EDITOR
13
14class FDerivedDataGeometryCollectionCooker : public FDerivedDataPluginInterface
15{
16public:
18
19 virtual const TCHAR* GetPluginName() const override
20 {
21 return TEXT("GeometryCollection");
22 }
23
24 virtual const TCHAR* GetVersionString() const override;
25
26
27 virtual FString GetPluginSpecificCacheKeySuffix() const override;
28
29
30 virtual bool IsBuildThreadsafe() const override
31 {
32 return false;
33 }
34
35 virtual bool IsDeterministic() const override
36 {
37 return true;
38 }
39
40 virtual FString GetDebugContextString() const override;
41
42 virtual bool Build(TArray<uint8>& OutData) override;
43
45 bool CanBuild() const
46 {
47 return true;
48 }
49
50private:
52};
53
54
55class FDerivedDataGeometryCollectionRenderDataCooker : public FDerivedDataPluginInterface
56{
57public:
59
60 virtual const TCHAR* GetPluginName() const override { return TEXT("GeometryCollectionRenderData"); }
61 virtual const TCHAR* GetVersionString() const override;
62 virtual FString GetPluginSpecificCacheKeySuffix() const override;
63 virtual bool IsBuildThreadsafe() const override { return false; }
64 virtual bool IsDeterministic() const override { return true; }
65 virtual FString GetDebugContextString() const override;
66 virtual bool Build(TArray<uint8>& OutData) override;
67
68 bool CanBuild() const { return true; }
69
70 static const TCHAR* VersionString;
71
72private:
74};
75
76#endif // WITH_EDITOR
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Array.h:670
Definition GeometryCollectionObject.h:393
Definition CollectionBoundsFacade.cpp:13