class Enlighten LightValueIterator

This is the documentation for Enlighten.

class Enlighten LightValueIterator

class Enlighten::LightValueIterator

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

Functions

Name

Description

Name

Description

AtEnd()

At the end of the array.

GetPtr()

Get a pointer to the data.

GetPtr()

Get a pointer to the data.

GetStride()

Get the stride in bytes between elements.

LightValueIterator(void *, size_t, Geo::u32)

Construct an iterator.

operator-(LightValueIterator)

Subtract LightValueIterator.

operator-(Geo::v128)

Subtract v128.

operator Geo::v128()

Get the uncompressed version of the underlying data.

operator*(Geo::v128)

Multiply v128.

operator*=(Geo::v128)

Multiple v128 by the value pointed to by this.

operator[](Geo::u32)

Access the LightValue through an array accessor.

operator+(Geo::u32)

Access value num elements forward in the array.

operator+(Geo::u32)

Access value num elements forward in the array.

operator+(Geo::v128)

Add v128.

operator+(LightValueIterator)

Add LightValueIterator.

operator++()

Pre-increment next value.

operator++(int)

Post-increment next value.

operator+=(Geo::v128)

Add v128 to the value pointed to by this.

operator+=(LightValueIterator)

Add LightValueIterator.

operator+=(Geo::u32)

Jump forward num light values in the array.

operator+=(Geo::u32)

Const jump forward num light values in the array.

operator=(const Geo::v128 &)

Assign a light value a new value.

operator-=(Geo::v128)

Subtract v128.

operator-=(LightValueIterator)

Subtract LightValueIterator.

Size()

Number of elements in the array.



bool Enlighten::LightValueIterator::AtEnd


public: bool AtEnd() const


At the end of the array.



Geo::u8* Enlighten::LightValueIterator::GetPtr


public: Geo::u8 * GetPtr()


Get a pointer to the data.