Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
KzuVirtualItemIterator Struct Reference

Iterator for KzuVirtualItemList. More...

#include <kzu_virtual_item_list.h>

Data Fields

struct KzuVirtualItemListitemList
 The virtual list iterated by the iterator. More...
 
kzInt index
 How many indices the iterator has been moved. More...
 
kzFloat offset
 How much the iterator has been moved. More...
 
kzFloat width
 Width of the current item. More...
 
kzBool valid
 Is iterator valid. More...
 

Detailed Description

Iterator for KzuVirtualItemList.

Keeps track of index, offset and item width of the item the iterator is pointing to.

Note: This struct is to be used through the functions provided in kzu_virtual_item_list.h The struct may change arbitrarily at any time and is public only to allow creation in stack.

Field Documentation

struct KzuVirtualItemList* KzuVirtualItemIterator::itemList

The virtual list iterated by the iterator.

kzInt KzuVirtualItemIterator::index

How many indices the iterator has been moved.

kzFloat KzuVirtualItemIterator::offset

How much the iterator has been moved.

kzFloat KzuVirtualItemIterator::width

Width of the current item.

kzBool KzuVirtualItemIterator::valid

Is iterator valid.


The documentation for this struct was generated from the following file: