TNetworkPredictionBuffer

Circular buffer for storing continuous frame data.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionBuffer.h

Include

#include "NetworkPredictionBuffer.h"

Syntax

template<typename ElementType, bool SingleElement>
struct TNetworkPredictionBuffer

Remarks

Circular buffer for storing continuous frame data.

Specializations

Constructors

Name Description

Public function

TNetworkPredictionBuffer

(
    int32 Capacity
)

Public function

TNetworkPredictionBuffer

(
    const TNetworkPredictionBuffer< Ele...
)

Functions

Name Description

Public function Const

int32

 

Capacity()

Public function

void

 

Resize

(
    int32 NewSize,
    int32 PrevHead
)

Resizes while preserving contents from head position.

Operators

Name Description

Public function

ElementType ...

 

operator[]

(
    int32 Index
)

Public function Const

const Elemen...

 

operator[]

(
    int32 Index
)

Public function

TNetworkPred...

 

operator=

(
    const TNetworkPredictionBuffer< Ele...
)

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