#include <HConstantFrameRate.h>
Public Member Functions | |
ConstFRType | GetType () |
HFrLodClamp () | |
HFrLodClamp (int min, int max) | |
void | Reset (HConstantFrameRate *pCfr) |
void | Set (HConstantFrameRate *pCfr, int SimpLevel) |
void | SetSegmentSwitch (bool ssl) |
![]() | |
int | GetMaxSimpLevel () |
int | GetMinSimpLevel () |
HConstFRSimpType () | |
HConstFRSimpType (int min, int max) | |
virtual void | Update (HConstantFrameRate *pCfr, int SimpLevel) |
Static Public Member Functions | |
static HConstFRSimpType * | Create (int min, int max) |
![]() | |
static HConstFRSimpType ** | CreateList (int size) |
Public Attributes | |
bool | m_bSegmentSwitch |
![]() | |
int | m_SimpLevelMax |
int | m_SimpLevelMin |
LOD Simplification type using the CLAMP option. The simplification level corresponds directly to the clamp value rendering option.
|
inline |
The default constructor.
|
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 |
Create a new simplification type object. Use this method to avoid object ownership problems.
min | lowest simplification level |
max | highest simplification level |
|
inlinevirtual |
Implements HConstFRSimpType.
References ConstFRLodClampType.
|
virtual |
This methods set the LOD clamp value to the SimpLevel. It also sets the tessellation option for cylinders.
pCfr | A pointer to a HConstantFrameRate Object. |
SimpLevel | Simplification level for the current type |
Implements HConstFRSimpType.