Simple struct defining a chain segment by referencing a subset of the preallocated buffer (which will be mMaxElementsPerChain * mChainCount long), by it's chain index, and a head and tail value which describe the current chain. More...
#include <OgreBillboardChain.h>
Public Attributes | |
size_t | start |
The start of this chains subset of the buffer. | |
size_t | head |
The 'head' of the chain, relative to start. | |
size_t | tail |
The 'tail' of the chain, relative to start. |
Simple struct defining a chain segment by referencing a subset of the preallocated buffer (which will be mMaxElementsPerChain * mChainCount long), by it's chain index, and a head and tail value which describe the current chain.
The buffer subset wraps at mMaxElementsPerChain so that head and tail can move freely. head and tail are inclusive, when the chain is empty head and tail are filled with high-values.
Definition at line 331 of file OgreBillboardChain.h.
The 'head' of the chain, relative to start.
Definition at line 336 of file OgreBillboardChain.h.
The start of this chains subset of the buffer.
Definition at line 334 of file OgreBillboardChain.h.
The 'tail' of the chain, relative to start.
Definition at line 338 of file OgreBillboardChain.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:08 2012