UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMEmergentTypeCreator.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
7#include "HAL/Platform.h"
8
9namespace Verse
10{
11struct FAllocationContext;
12struct VCppClassInfo;
13struct VEmergentType;
14struct VType;
15struct VShape;
16
17template <typename T>
18struct TGlobalHeapPtr;
19
20template <typename T>
21struct TLazyInitialized;
22
23template <typename Type>
24class VUniqueCreator;
25
26// Get/creates hash constructed emergent types.
28{
30 static bool bIsInitialized;
31
32 VEmergentTypeCreator() = delete;
33
34public:
35 COREUOBJECT_API static void Initialize(FAllocationContext Context);
36 COREUOBJECT_API static VEmergentType* GetOrCreate(FAllocationContext Context, VType* Type, VCppClassInfo* CppClassInfo);
37 COREUOBJECT_API static VEmergentType* GetOrCreate(FAllocationContext Context, VShape* InShape, VType* Type, VCppClassInfo* CppClassInfo);
38
41};
42}; // namespace Verse
43
44#endif // WITH_VERSE_VM
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Archive.h:36