This is the documentation for Enlighten.

struct Enlighten PppiUpdateData

template<typename>
struct Enlighten::PppiUpdateData

A sequence of data blocks that map to a single target buffer.

The sequence is ordered by ascending offset within the buffer. There may be gaps between blocks, but two blocks never overlap.

Classes

Name Description
Enlighten::PppiUpdateData::Block

A contiguous data block.

Variables

Name Description
const Block * m_Blocks

The blocks to be copied to the target buffer.

Geo::u32 m_Count

The number of elements in the block array.

Functions

Name Description
CopyCombined(T *, Geo::u32)

Copy all blocks to the target buffer.

GetCombinedCount()

Return the number of combined elements to be copied to the target buffer.

GetFirstCombined()

Return the offset within the target buffer of the first of the combined elements to be copied.


void Enlighten::PppiUpdateData< T >::CopyCombined


public: void CopyCombined
(
    T * firstCombined,
    Geo::u32 combinedCount
) const


Copy all blocks to the target buffer.

Parameters
[in] firstCombined

A pointer into the target buffer, offset by GetFirstCombined().

[in] combinedCount

The number of elements in the array beginning at firstCombined.


Geo::u32 Enlighten::PppiUpdateData< T >::GetCombinedCount


public: Geo::u32 GetCombinedCount() const


Return the number of combined elements to be copied to the target buffer.


Geo::u32 Enlighten::PppiUpdateData< T >::GetFirstCombined


public: Geo::u32 GetFirstCombined() const


Return the offset within the target buffer of the first of the combined elements to be copied.