TRingBuffer::ShiftIndexToFront

Move the value at the given index into the front pointer of the RingBuffer, and shift all elements ahead of it down 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 ShiftIndexToFront
(
    IndexType Index
)

Remarks

Move the value at the given index into the front pointer of the RingBuffer, and shift all elements ahead of it down by one to make room for it. Invalid to call with a negative index or index greater than 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