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
5
6namespace Chaos
7{
8 namespace Private
9 {
10 template<typename InElementType, uint32 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}
Definition ChunkedArray.h:12
void Reset()
Definition ChunkedArray.h:16
Definition ChunkedArray.h:56
int32 NumElements
Definition ChunkedArray.h:341
Definition SkeletalMeshComponent.h:307
Definition OverriddenPropertySet.cpp:45