TCircularBuffer::TCircularBuffer

Creates and initializes a new instance of the [TCircularBuffer](API\Runtime\Core\Containers\TCircularBuffer) class.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/CircularBuffer.h"

Syntax

TCircularBuffer
(
    uint32 Capacity
)

Remarks

Creates and initializes a new instance of the TCircularBuffer class.

Parameters

Parameter

Description

Capacity

The number of elements that the buffer can store (will be rounded up to the next power of 2).

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