ForestCellBatch
Engine/source/forest/forestCellBatch.h
Protected Attributes
Protected Functions
bool
_prepBatch(const ForestItem & item)
_render(const SceneRenderState * state)
Public Functions
Detailed Description
Protected Attributes
Box3F mBounds
The world space bounding box of this batch.
bool mDirty
Used to detect when the batch rendering objects need to be repacked.
Vector< ForestItem > mItems
The items in the batch.
Protected Functions
_prepBatch(const ForestItem & item)
Reimplemented by: TSForestCellBatch
_rebuildBatch()
Reimplemented by: TSForestCellBatch
_render(const SceneRenderState * state)
Reimplemented by: TSForestCellBatch
Public Functions
ForestCellBatch()
~ForestCellBatch()
add(const ForestItem & item)
getItemCount()
getWorldBox()
render(SceneRenderState * state)