RealDocs

25 results for "memory" in function

function
TArray::SwapMemory Core

Swaps two elements by directly exchanging their raw memory bytes via the global Swap template.

function
TArray::WriteMemoryImage Core

Serialises this TArray into a frozen memory image via FMemoryImageWriter.

function
TArray::AddUninitialized Core

Grows the array by Count elements without constructing them, returning the index of the first new slot.

function
TArray::AddZeroed Core

Appends Count new elements at the end of the array, zero-initialising their memory via FMemory::Memzero.

function
TArray::AppendHash Core

A static method that feeds the element type's layout descriptor into a SHA1 hash.

function
TArray::BulkSerialize Core

Serializes the entire array as a raw memory blob during loading, bypassing per-element serialization for significant performance gains.

function
TArray::CopyUnfrozen Core

Reconstructs a live TArray from a frozen (WriteMemoryImage) binary representation by placement-constructing a new TArray at Dst and copying element data through the allocator's CopyUnfrozen path.

function
TArray::CountBytes Core

Reports the array's current and peak memory usage to an accounting archive by calling Ar.

function
TArray::Empty Core

Destructs all elements and sets Num to 0.

function
TWeakPtr::GetWeakPtrTypeHash Core

Returns a hash of the weak pointer based on the raw object address, suitable for use in TSet and TMap containers.

function
TArray::InsertZeroed Core

Inserts Count zero-initialized elements at Index by shifting existing elements right and then zeroing the new slots with FMemory::Memzero.

function
TSoftClassPtr::LoadSynchronous CoreUObject

Synchronously loads the class referenced by this soft pointer if it is not already in memory, then returns it.

function
TSoftObjectPtr::LoadSynchronous CoreUObject

Synchronously loads the referenced asset if it is not already in memory and returns a typed T* pointer.

function
FText::PreloadStringTable Core

Requests that the given string table entry be loaded into memory before it is needed, avoiding a hitch when the text is first displayed.

function
FString::Printf Core

Constructs a new FString using printf-style format specifiers.

function
TArray::Reserve Core

Pre-allocates memory for at least Number elements without changing the logical size.

function
FName::Reserve Core

Pre-allocates memory in the global FName table to reduce reallocations during bulk name registration.

function
TArray::Reset Core

Removes all elements (calls destructors) but retains allocated memory for reuse.

function
TArray::SetNumUninitialized Core

Resizes the array to exactly NewNum elements without initialising any newly added memory.

function
TArray::SetNumUnsafeInternal Core

Directly sets the internal element count without touching memory, running destructors, or reallocating.

function
TArray::SetNumZeroed Core

Resizes the array to exactly NewNum elements.

function
TArray::Shrink Core

Reallocates the backing buffer so it exactly fits the current number of elements, releasing any excess capacity (slack).

function
TArray::Swap Core

Swaps two elements at the given indices after verifying both indices are in bounds.

function
TArray::ToString Core

Converts the frozen memory image representation of this TArray to a human-readable string by delegating to the allocator's ToString.

function
UGameplayStatics::UnloadStreamLevel Engine

Removes a previously streamed-in sub-level from the world by name, freeing its memory and actors.