UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChunkedArray.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
Containers/ChunkedArray.h
"
5
6
namespace
Chaos
7
{
8
namespace
Private
9
{
10
template
<
typename
InElementType, u
int
32 TargetBytesPerChunk = 16384,
typename
AllocatorType = FDefaultAllocator,
typename
= TEnableIf<std::is_trivially_destructible_v<InElementType>>>
11
class
TChaosChunkedArray
:
public
TChunkedArray
<InElementType, TargetBytesPerChunk, AllocatorType>
12
{
13
public
:
14
// This function will set the number of element to 0, but won't allocate more memory neither won't free memory,
15
// and won't call any destructor.
16
void
Reset
()
17
{
18
this->
NumElements
= 0;
19
}
20
};
21
22
}
23
}
ChunkedArray.h
Chaos::Private::TChaosChunkedArray
Definition
ChunkedArray.h:12
Chaos::Private::TChaosChunkedArray::Reset
void Reset()
Definition
ChunkedArray.h:16
TChunkedArray
Definition
ChunkedArray.h:56
TChunkedArray::NumElements
int32 NumElements
Definition
ChunkedArray.h:341
Chaos
Definition
SkeletalMeshComponent.h:307
Private
Definition
OverriddenPropertySet.cpp:45
Engine
Source
Runtime
Experimental
Chaos
Public
Chaos
Framework
ChunkedArray.h
Generated by
1.9.8