DecalManager Class Reference#include <decalManager.h>
Inheritance diagram for DecalManager:
[legend]List of all members.
Detailed Description
Manage decals in the world.
|
Public Member Functions |
| void | addDecal (const Point3F &pos, const Point3F &rot, Point3F normal, const Point3F &scale, DecalData *, U32) |
| void | ageDecal (U32) |
| void | findSpace () |
| | DecalManager () |
| | ~DecalManager () |
| void | dataDeleted (DecalData *data) |
| void | renderDecal () |
| | DECLARE_CONOBJECT (DecalManager) |
|
These functions allow you to add new decals to the world.
|
| void | addDecal (const Point3F &pos, const Point3F &rot, Point3F normal, const Point3F &scale, DecalData *) |
| void | addDecal (const Point3F &pos, const Point3F &rot, Point3F normal, DecalData *) |
| void | addDecal (const Point3F &pos, Point3F normal, DecalData *) |
Static Public Member Functions |
| static void | consoleInit () |
| | Register global constant variables and do other one-time initialization tasks in a subclass of ConsoleObject.
|
Public Attributes |
| Vector< DecalInstance * > | mFreePoolBlocks |
| DecalInstance * | mFreePool |
| GFXStateBlockRef | mDefaultSB |
| GFXStateBlockRef | mSelfIlluminatedSB |
Static Public Attributes |
| static U32 | smMaxNumDecals |
| static U32 | smDecalTimeout |
| static bool | sgThisIsSelfIlluminated |
| static bool | sgLastWasSelfIlluminated |
| static const U32 | csmFreePoolBlockSize |
| static bool | smDecalsOn |
Protected Member Functions |
| bool | prepRenderImage (SceneState *state, const U32 stateKey, const U32 startZone, const bool modifyBaseZoneState) |
| | Called when the SceneGraph is ready for the registration of RenderImages.
|
| void | renderObject (ObjectRenderInst *, BaseMatInstance *) |
| DecalInstance * | allocateDecalInstance () |
| void | freeDecalInstance (DecalInstance *) |
Protected Attributes |
| ObjectRenderInst::RenderDelegate | mRenderDelegate |
Private Types |
| typedef SceneObject | Parent |
Private Attributes |
| Vector< DecalInstance * > | mDecalQueue |
| bool | mQueueDirty |
Member Typedef Documentation
Constructor & Destructor Documentation
| DecalManager::DecalManager |
( |
|
) |
|
| DecalManager::~DecalManager |
( |
|
) |
|
Member Function Documentation
| void DecalManager::ageDecal |
( |
U32 |
|
) |
|
| void DecalManager::findSpace |
( |
|
) |
|
| bool DecalManager::prepRenderImage |
( |
SceneState * |
state, |
|
|
const U32 |
stateKey, |
|
|
const U32 |
startZone, |
|
|
const bool |
modifyBaseZoneState | |
|
) |
| | [protected, virtual] |
Called when the SceneGraph is ready for the registration of RenderImages.
- See also:
- SceneState
- Parameters:
-
| state | SceneState |
| stateKey | State key of the current SceneState |
| startZone | Base zone index |
| modifyBaseZoneState | If true, the object needs to modify the zone state. |
Reimplemented from SceneObject.
| DecalInstance* DecalManager::allocateDecalInstance |
( |
|
) |
[protected] |
| static void DecalManager::consoleInit |
( |
|
) |
[static] |
Register global constant variables and do other one-time initialization tasks in a subclass of ConsoleObject.
- See also:
- console
Reimplemented from ConsoleObject.
| void DecalManager::renderDecal |
( |
|
) |
|
Member Data Documentation
|