#include <HConstantFrameRate.h>
Public Member Functions | |
int | GetMaxSimpLevel () |
int | GetMinSimpLevel () |
virtual ConstFRType | GetType ()=0 |
HConstFRSimpType () | |
HConstFRSimpType (int min, int max) | |
virtual void | Reset (HConstantFrameRate *pCfr) |
virtual void | Set (HConstantFrameRate *pCfr, int SimpLevel)=0 |
virtual void | Update (HConstantFrameRate *pCfr, int SimpLevel) |
Static Public Member Functions | |
static HConstFRSimpType ** | CreateList (int size) |
Public Attributes | |
int | m_SimpLevelMax |
int | m_SimpLevelMin |
This abstract base class is used to represent an element of the framerate simplication list. When the constant framerate functionality is enabled, the system uses a list of object simplification types to determine which steps to take in simplifying the scene to increase rendering speed.
HConstFRSimpType::HConstFRSimpType | ( | ) | [inline] |
Default constructor that sets the minimum and maximum simplication levels to 0.
HConstFRSimpType::HConstFRSimpType | ( | int | min, |
int | max | ||
) | [inline] |
The constructor that allows you the set the minimum and maximum simplification levels.
min | The minimum simplification level. |
max | The maximum simplification level. |
static HConstFRSimpType** HConstFRSimpType::CreateList | ( | int | size | ) | [inline, static] |
int HConstFRSimpType::GetMaxSimpLevel | ( | ) | [inline] |
int HConstFRSimpType::GetMinSimpLevel | ( | ) | [inline] |
virtual ConstFRType HConstFRSimpType::GetType | ( | ) | [pure virtual] |
Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.
virtual void HConstFRSimpType::Set | ( | HConstantFrameRate * | pCfr, |
int | SimpLevel | ||
) | [pure virtual] |
Set rendering options based on simplification type.
pCfr | A Pointer to the ConstantFrameRate object. |
SimpLevel | The simplification level for the current type. |
Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.
virtual void HConstFRSimpType::Update | ( | HConstantFrameRate * | pCfr, |
int | SimpLevel | ||
) | [virtual] |
Update Display and additional framerate related settings.
pCfr | A Pointer to the ConstantFrameRate object. |
SimpLevel | The simplification level for the current type. |
Reimplemented in HFrNoSimpAA.
Highest simplification level which is specific to the simplification type.
Lowest simplification level which is specific to the simplification type.