PSYQo
|
A maximum fixed sized fragment of similar primitives. More...
#include <fragments.hh>
Public Types | |
typedef T | FragmentBaseType |
Public Member Functions | |
constexpr size_t | maxSize () const |
size_t | getActualFragmentSize () const |
Public Attributes | |
unsigned | count |
uint32_t | head |
P | prologue |
eastl::array< T, N > | primitives |
A maximum fixed sized fragment of similar primitives.
This fragment contains a prologue, followed by a sequence of identical primitives. The prologue typically is used to store a setup for the rest of the primitives. The payload is a sequence of primitives of identical type. The count
field needs to be updated to reflect the actual number of primitives stored in the fragment's payload.
P | The prologue type. |
T | The primitive type. |
N | The maximum number of primitives in the payload. |