TRingBuffer::ShiftIndexToBack

Move the value at the given index into the back pointer of the RingBuffer, and shift all elements behind of it up by one to make room for it.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/RingBuffer.h"

Syntax

void ShiftIndexToBack
(
    IndexType Index
)

Remarks

Move the value at the given index into the back pointer of the RingBuffer, and shift all elements behind of it up by one to make room for it. Invalid to call with an index less than 0 or greater than or equal to the 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