class Enlighten ConstLightValueIterator

This is the documentation for Enlighten.

class Enlighten ConstLightValueIterator

class Enlighten::ConstLightValueIterator

Const LightValue iterator. This contains the logic for iterating over LightValue64 or LightValue128 arrays.

Functions

Name

Description

Name

Description

AtEnd()

Iterator at the end of the array.

ConstLightValueIterator(const void *, size_t, Geo::u32)

Construct an iterator.

GetPtr()

Get a ptr to the data.

GetStride()

Get the size of the elements.

operator Geo::v128()

Get the uncompressed version of the underlying data.

operator*(Geo::v128)

Multiply v128.

operator[](Geo::u32)

Access the LightValue through an array accessor.

operator+(Geo::u32)

Access value num elements forward in the array.

operator+(Geo::v128)

Add v128.

operator++()

Pre-increment next value.

operator++(int)

Post-increment next value.

operator+=(Geo::u32)

Jump forward num light values in the array.

Size()

Num elements till the end of the array.,.



bool Enlighten::ConstLightValueIterator::AtEnd


public: bool AtEnd() const


Iterator at the end of the array.



GEO_FORCE_INLINE Enlighten::ConstLightValueIterator::ConstLightValueIterator


public: GEO_FORCE_INLINE ConstLightValueIterator
(
    const void * data,
    size_t stride,
    Geo::u32 numValues
)


Construct an iterator.



const Geo::u8* Enlighten::ConstLightValueIterator::GetPtr


public: const Geo::u8 * GetPtr() const


Get a ptr to the data.



size_t Enlighten::ConstLightValueIterator::GetStride


public: size_t GetStride() const


Get the size of the elements.