#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.
|
inline |
Default constructor that sets the minimum and maximum simplication levels to 0.
|
inline |
The constructor that allows you the set the minimum and maximum simplification levels.
min | The minimum simplification level. |
max | The maximum simplification level. |
|
inlinestatic |
|
inline |
|
inline |
|
pure virtual |
Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.
|
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 |
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.
int HConstFRSimpType::m_SimpLevelMax |
Highest simplification level which is specific to the simplification type.
int HConstFRSimpType::m_SimpLevelMin |
Lowest simplification level which is specific to the simplification type.