VoltAir
|
An iterator over a vertex attribute array. More...
Public Member Functions | |
Iterator (GLbyte *ptr, int stride) | |
Construct an iterator. More... | |
bool | operator== (const Iterator &other) const |
Compares two iterators to test if they point to the same element. More... | |
bool | operator!= (const Iterator &other) const |
Compares two iterators to test if they do not point to the same element. More... | |
const T & | operator* () const |
Returns a constant reference to the current element. More... | |
T & | operator* () |
Returns a mutable reference to the current element. More... | |
T * | operator-> () |
Arrow operator dereferencing the current element. More... | |
void | operator++ () |
Moves this iterator forward one element. More... | |
void | operator++ (int) |
Prepent moves this iterator forward one element. More... | |
void | operator-- () |
Moves this iterator back one element. More... | |
void | operator-- (int) |
Prepend moves this iterator back one element. More... | |
An iterator over a vertex attribute array.
|
inline |
Construct an iterator.
ptr | Pointer to the first element of the array |
stride | Number of bytes between elements |
|
inline |
Compares two iterators to test if they do not point to the same element.
other | Iterator to compare with this iterator |
|
inline |
Returns a constant reference to the current element.
|
inline |
Returns a mutable reference to the current element.
|
inline |
Moves this iterator forward one element.
|
inline |
Prepent moves this iterator forward one element.
|
inline |
Moves this iterator back one element.
|
inline |
Prepend moves this iterator back one element.
|
inline |
Arrow operator dereferencing the current element.
|
inline |
Compares two iterators to test if they point to the same element.
other | Iterator to compare with this iterator |