TRingBuffer::Trim

Set the capacity to the minimum power of two (or 0) greater than or equal to the current number of elements in the RingBuffer.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/RingBuffer.h

Include

#include "Containers/RingBuffer.h"

Syntax

void Trim()

Remarks

Set the capacity to the minimum power of two (or 0) greater than or equal to the current number of elements in the RingBuffer.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss