Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TTripleBuffer
Enumerates human readable bit values for accessing the Flags field.
| Name | EBufferFlag |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/TripleBuffer.h |
| Include Path | #include "Containers/TripleBuffer.h" |
Syntax
enum EBufferFlag
{
Dirty = 0x40,
Initial = 0x06,
ReaderMask = 0x03,
TempMask = 0x30,
TempShift = 4,
WriterMask = 0x0c,
WriterShift = 2,
}
Values
| Name | Remarks |
|---|---|
| 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. |