TRingBuffer::Reserve

Set the capacity to the maximum of the current capacity and the (next power of two greater than or equal to) the given capacity.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/RingBuffer.h"

Syntax

void Reserve
(
    SizeType RequiredCapacity
)

Remarks

Set the capacity to the maximum of the current capacity and the (next power of two greater than or equal to) the given capacity.

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