DetailManager Class Reference#include <detailManager.h>
|
Public Member Functions |
| | DetailManager () |
| | ~DetailManager () |
Static Public Member Functions |
| static void | init () |
| static void | shutdown () |
| static void | beginPrepRender () |
| static void | endPrepRender () |
| static void | selectPotentialDetails (TSShapeInstance *si, F32 dist, F32 invScale) |
| static bool | selectCurrentDetail (TSShapeInstance *si) |
| static void | selectPotentialDetails (TSPartInstance *pi, F32 dist, F32 invScale) |
| static bool | selectCurrentDetail (TSPartInstance *pi) |
Static Public Attributes |
| static DetailProfile | smDefaultProfile |
| static F32 | smDetailScale |
| static S32 | smMaxPolyLimit |
| static S32 | smMinPolyLimit |
| static S32 | smLimitRange |
| static S32 | smPolysTriedToRender |
| static S32 | smPolysDidRender |
Private Member Functions |
| void | begin () |
| void | end () |
| void | selectPotential (TSShapeInstance *si, F32 dist, F32 invScale, const DetailProfile *dp=&smDefaultProfile) |
| bool | selectCurrent (TSShapeInstance *si) |
| void | selectPotential (TSPartInstance *pi, F32 dist, F32 invScale, const DetailProfile *dp=&smDefaultProfile) |
| bool | selectCurrent (TSPartInstance *pi) |
| void | bumpOne (DetailData *, S32 bump) |
| void | bumpAll (S32 bump) |
| void | computePriority (DetailData *, S32 bump) |
| DetailData * | getNewDetailData () |
Static Private Member Functions |
| static DetailManager * | get () |
Private Attributes |
| S32 | mTag |
| S32 | mPolyLimit |
| bool | mInPrepRender |
| S32 | mPolyCount |
| S32 | mBumpPolyCount [MAX_BUMP] |
| Vector< DetailData * > | mDetailData |
| Vector< DetailData * > | mFreeDetailData |
Static Private Attributes |
| static DetailManager * | smDetailManager |
Data Structures |
| struct | DetailData |
| struct | DetailProfile |
Constructor & Destructor Documentation
| DetailManager::DetailManager |
( |
|
) |
|
| DetailManager::~DetailManager |
( |
|
) |
|
Member Function Documentation
| static DetailManager* DetailManager::get |
( |
|
) |
[inline, static, private] |
| void DetailManager::begin |
( |
|
) |
[private] |
| void DetailManager::end |
( |
|
) |
[private] |
| void DetailManager::bumpAll |
( |
S32 |
bump |
) |
[private] |
| DetailData* DetailManager::getNewDetailData |
( |
|
) |
[private] |
| static void DetailManager::init |
( |
|
) |
[inline, static] |
| static void DetailManager::shutdown |
( |
|
) |
[inline, static] |
| static void DetailManager::beginPrepRender |
( |
|
) |
[inline, static] |
| static void DetailManager::endPrepRender |
( |
|
) |
[inline, static] |
| static bool DetailManager::selectCurrentDetail |
( |
TSShapeInstance * |
si |
) |
[inline, static] |
| static bool DetailManager::selectCurrentDetail |
( |
TSPartInstance * |
pi |
) |
[inline, static] |
Field Documentation
|