Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::ConstLightValueIterator

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

Functions

NameDescription
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.,.


Anchor
a3380c721150dd840b31fec319724e7ab
a3380c721150dd840b31fec319724e7ab

bool Enlighten::ConstLightValueIterator::AtEnd

...

public: bool AtEnd() const

...

Iterator at the end of the array.


Anchor
a4e0319265984c6929a6838d1298ad1ed
a4e0319265984c6929a6838d1298ad1ed

GEO_FORCE_INLINE Enlighten::ConstLightValueIterator::ConstLightValueIterator

...

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

...

Construct an iterator.


Anchor
acac2db8440965c3c25e6dc6fc1bdd20b
acac2db8440965c3c25e6dc6fc1bdd20b

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

...

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

...

Get a ptr to the data.


Anchor
a1f394e74884207db0c088bc30738c91a
a1f394e74884207db0c088bc30738c91a

size_t Enlighten::ConstLightValueIterator::GetStride

...

public: size_t GetStride() const

...

Get the size of the elements.


Anchor
a1033335f2cfd2581d46a39824b1943f1
a1033335f2cfd2581d46a39824b1943f1

GEO_FORCE_INLINE Enlighten::ConstLightValueIterator::operator Geo::v128

...

public: GEO_FORCE_INLINE operator Geo::v128() const

...

Get the uncompressed version of the underlying data.


Anchor
ad10bbe48e657259182f73254126d135d
ad10bbe48e657259182f73254126d135d

GEO_FORCE_INLINE Geo::v128 Enlighten::ConstLightValueIterator::operator*

...

public: GEO_FORCE_INLINEGeo::v128 operator*
(
    Geo::v128 value
) const

...

Multiply v128.


Anchor
adf1d08a750fc79f98fad4274d6d14b56
adf1d08a750fc79f98fad4274d6d14b56

GEO_FORCE_INLINE Geo::v128 Enlighten::ConstLightValueIterator::operator[]

...

public: GEO_FORCE_INLINEGeo::v128 operator[]
(
    Geo::u32 index
) const

...

Access the LightValue through an array accessor.


Anchor
a635653c8dfd8df01f0750b17b6dbc685
a635653c8dfd8df01f0750b17b6dbc685

GEO_FORCE_INLINE ConstLightValueIterator Enlighten::ConstLightValueIterator::operator+

...

public: GEO_FORCE_INLINEConstLightValueIterator operator+
(
    Geo::u32 num
)

...

Access value num elements forward in the array.


Anchor
acdc05df3341a7d14e29b8f87003c8636
acdc05df3341a7d14e29b8f87003c8636

GEO_FORCE_INLINE Geo::v128 Enlighten::ConstLightValueIterator::operator+

...

public: GEO_FORCE_INLINEGeo::v128 operator+
(
    Geo::v128 value
)

...

Add v128.


Anchor
aafa8f0afb4138b688d4d4c572de3fd65
aafa8f0afb4138b688d4d4c572de3fd65

GEO_FORCE_INLINE ConstLightValueIterator& Enlighten::ConstLightValueIterator::operator++

...

public: GEO_FORCE_INLINEConstLightValueIterator & operator++()

...

Pre-increment next value.


Anchor
a90b19f08566eb8a683a933e5bba8b670
a90b19f08566eb8a683a933e5bba8b670

GEO_FORCE_INLINE ConstLightValueIterator Enlighten::ConstLightValueIterator::operator++

...

public: GEO_FORCE_INLINEConstLightValueIterator operator++
(
    int
)

...

Post-increment next value.


Anchor
a2f11b05dfd90ddaba7de016eb8f27953
a2f11b05dfd90ddaba7de016eb8f27953

GEO_FORCE_INLINE ConstLightValueIterator& Enlighten::ConstLightValueIterator::operator+=

...

public: GEO_FORCE_INLINEConstLightValueIterator & operator+=
(
    Geo::u32 num
)

...

Jump forward num light values in the array.


Anchor
a7983b9584f27bcf8d1347db83f37f40c
a7983b9584f27bcf8d1347db83f37f40c

size_t Enlighten::ConstLightValueIterator::Size

...

public: size_t Size() const

...

Num elements till the end of the array.,.