#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HConstFRSimpType() [1/2]

HConstFRSimpType::HConstFRSimpType ( )
inline

Default constructor that sets the minimum and maximum simplication levels to 0.

◆ HConstFRSimpType() [2/2]

HConstFRSimpType::HConstFRSimpType ( int  min,
int  max 
)
inline

The constructor that allows you the set the minimum and maximum simplification levels.

Parameters
minThe minimum simplification level.
maxThe maximum simplification level.

Member Function Documentation

◆ CreateList()

static HConstFRSimpType** HConstFRSimpType::CreateList ( int  size)
inlinestatic
Returns
A pointer to an array of HConstFRSimpType objects.

◆ GetMaxSimpLevel()

int HConstFRSimpType::GetMaxSimpLevel ( )
inline
Returns
The highest simplification level.

◆ GetMinSimpLevel()

int HConstFRSimpType::GetMinSimpLevel ( )
inline
Returns
The lowest simplification level.

◆ GetType()

virtual ConstFRType HConstFRSimpType::GetType ( )
pure virtual
Returns
The simplification type.

Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.

◆ Set()

virtual void HConstFRSimpType::Set ( HConstantFrameRate pCfr,
int  SimpLevel 
)
pure virtual

Set rendering options based on simplification type.

Parameters
pCfrA Pointer to the ConstantFrameRate object.
SimpLevelThe simplification level for the current type.

Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.

◆ Update()

virtual void HConstFRSimpType::Update ( HConstantFrameRate pCfr,
int  SimpLevel 
)
virtual

Update Display and additional framerate related settings.

Parameters
pCfrA Pointer to the ConstantFrameRate object.
SimpLevelThe simplification level for the current type.

Reimplemented in HFrNoSimpAA.

Member Data Documentation

◆ m_SimpLevelMax

int HConstFRSimpType::m_SimpLevelMax

Highest simplification level which is specific to the simplification type.

◆ m_SimpLevelMin

int HConstFRSimpType::m_SimpLevelMin

Lowest simplification level which is specific to the simplification type.


The documentation for this class was generated from the following file: