Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type.
More...
#include <TriangleIterator.hpp>
List of all members.
Detailed Description
Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type.
- See also:
- DrawCall::triangles()
Constructor & Destructor Documentation
Member Function Documentation
| bool vl::TriangleIterator::next |
( |
) |
[inline] |
Requires the next triangle.
Returns false the iterator reached the end of the triangle list.
| bool vl::TriangleIterator::isEnd |
( |
) |
[inline] |
Returns true if the iterator reached the end of the triangle list.
In this case a(), b() and c() return -1.
| int vl::TriangleIterator::a |
( |
) |
const [inline] |
First index of the triangle.
| int vl::TriangleIterator::b |
( |
) |
const [inline] |
First index of the triangle.
| int vl::TriangleIterator::c |
( |
) |
const [inline] |
First index of the triangle.
Member Data Documentation
The documentation for this class was generated from the following file: