Inheritance diagram for CubeMapRenderTechnique:
Public Member Functions | |
CubeMapRenderTechnique (unsigned long startFrame, unsigned long cubeMapUpdateInterval, unsigned int cubeMapResolution, bool useDistCalc, bool useFaceAngleCalc, float distTolerance, float angleTolerance, bool updateAllFace, ElementaryRenderable *parentRenderable, TechniqueGroup *parentTechniqueGroup) | |
Constructor. | |
virtual void | update (unsigned long frameNum) |
Updates the resources in the given frame. | |
void | runChanged (RenderingRunType runType, RenderingRun *run) |
Called after one of he shared runs changes. | |
Protected Member Functions | |
virtual void | colorCubeMapRunChanged (RenderingRun *run)=0 |
Called if the changed run is a ColorCubeMapRenderingRun. | |
virtual RenderingRun * | createColorCubeMapRun ()=0 |
Creates a ColorCubeMapRenderingRun. | |
Protected Attributes | |
bool | useDistCalc |
a flag to skip cube face update if object is far away or too small. | |
bool | useFaceAngleCalc |
a flag to skip cube face update the face is neglible. | |
float | distTolerance |
A value used in face skip test. | |
float | angleTolerance |
A value used in face skip test. | |
bool | updateAllFace |
defines if all cubemap faces should be updated in a frame or only one face per frame | |
unsigned long | cubeMapUpdateInterval |
color-cubemap update frequency | |
unsigned int | cubeMapResolution |
color-cubemap resolution | |
unsigned long | startFrame |
offset in frame number used during update |
This technique defines that the final rendering of an object needs a cubmap of the colors of the surrounding environment.
|
Constructor.
|
|
Called if the changed run is a ColorCubeMapRenderingRun.
Implemented in OgreCubeMapRenderTechnique. |
|
Creates a ColorCubeMapRenderingRun.
Implemented in OgreCubeMapRenderTechnique. |
|
Called after one of he shared runs changes.
Reimplemented from RenderTechnique. |
|
Updates the resources in the given frame.
Reimplemented from RenderTechnique. Reimplemented in OgreCubeMapRenderTechnique. |
|
A value used in face skip test. The higher this value gets the more precise, but slower the method will be. |
|
A value used in face skip test. The higher this value gets the more precise, but slower the method will be. |
|
a flag to skip cube face update if object is far away or too small.
|
|
a flag to skip cube face update the face is neglible.
|