UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMEnumerationInline.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#if WITH_VERSE_VM || defined(__INTELLISENSE__)
5
6
#include "
VerseVM/VVMEnumeration.h
"
7
8
namespace
Verse
9
{
10
11
inline
VEnumerator
& VEnumeration::GetEnumeratorChecked(
int32
IntValue)
const
12
{
13
V_DIE_UNLESS
(IntValue >= 0 && IntValue <
int32
(
NumEnumerators
));
14
return
*
Enumerators
[IntValue].Get();
15
}
16
17
inline
VEnumeration
& VEnumeration::New(FAllocationContext
Context
,
VPackage
*
Package
,
VArray
* RelativePath,
VArray
* EnumName,
VArray
*
AttributeIndices
,
VArray
* Attributes,
UEnum
*
ImportEnum
,
bool
bNative
,
const
TArray<VEnumerator*>
&
Enumerators
)
18
{
19
return
*
new
(
Context
.AllocateFastCell(
sizeof
(
VEnumeration
) +
Enumerators
.Num() *
sizeof
(
TWriteBarrier<VEnumerator>
)))
VEnumeration
(
Context
,
Package
, RelativePath, EnumName,
AttributeIndices
, Attributes,
ImportEnum
,
bNative
,
Enumerators
);
20
}
21
22
}
// namespace Verse
23
#endif
// WITH_VERSE_VM
ECbValidateMode::Package
@ Package
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
VVMEnumeration.h
EVulkanSyncPointType::Context
@ Context
TArray
Definition
Array.h:670
UEnum
Definition
Class.h:2791
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
Inline
VVMEnumerationInline.h
Generated by
1.9.8