Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableRuntime/Internal/MuR/MemoryCounters.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

23 lines
492 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuR/MemoryTrackingAllocationPolicy.h"
namespace UE::Mutable::Private::MemoryCounters
{
struct FInternalMemoryCounter
{
static MUTABLERUNTIME_API std::atomic<SSIZE_T>& Get();
};
}
namespace UE::Mutable::Private
{
using AllocType = FDefaultMemoryTrackingAllocator<MemoryCounters::FInternalMemoryCounter>;
template<class Type, class Alloc = AllocType >
using TMemoryTrackedArray = TArray<Type, Alloc>;
}