|
Nugget
|
A maximum fixed sized fragment of similar primitives. More...
#include <psyqo/fragments.hh>
Public Types | |
| typedef Prim | FragmentBaseType |
Public Member Functions | |
| constexpr size_t | maxSize () const |
| FixedFragment () | |
| FixedFragment (const FixedFragment &)=default | |
| size_t | getActualFragmentSize () const |
Public Attributes | |
| unsigned | count = N |
| uint32_t | head |
| eastl::array< Prim, N > | primitives |
A maximum fixed sized fragment of similar primitives.
This fragment is a simple sequence of identical primitives. The count field needs to be updated to reflect the actual number of primitives stored in the fragment's payload. The primitive type can be a compounded structure of multiple primitive types.
| T | The primitive type. |
| N | The maximum number of primitives in the payload. |
| typedef Prim psyqo::Fragments::FixedFragment< Prim, N >::FragmentBaseType |
|
inline |
|
explicitdefault |
|
inline |
|
inlineconstexpr |
| unsigned psyqo::Fragments::FixedFragment< Prim, N >::count = N |
| uint32_t psyqo::Fragments::FixedFragment< Prim, N >::head |
| eastl::array<Prim, N> psyqo::Fragments::FixedFragment< Prim, N >::primitives |