EBufferFlag

Enumerates human readable bit values for accessing the Flags field.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/TripleBuffer.h"

Syntax

enum EBufferFlag
{
    Dirty          = 0x40,
    Initial        = 0x06,
    ReaderMask     = 0x03,
    TempMask       = 0x30,
    TempShift      = 4,
    WriterMask     = 0x0c,
    WriterShift    = 2,
}

Values

Name

Description

Dirty

Indicates whether a new buffer is available for reading.

Initial

Initial flags value (0dttwwrr; dirty = false, temp index = 0, write index = 1, read index = 2)

ReaderMask

Bit mask for accessing the read buffer index (bit 0-1).

TempMask

Bit mask for the index of the unused/clean/empty buffer (bit 4-5).

TempShift

Bit shift for accessing the temp buffer index.

WriterMask

Bit mask for accessing the write buffer index (bit 2-3).

WriterShift

Bit shift for accessing the write buffer index.

Remarks

Enumerates human readable bit values for accessing the Flags field.

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