Inheritance diagram for RenderTechnique:
Public Member Functions | |
RenderTechnique (ElementaryRenderable *parentRenderable, TechniqueGroup *parentTechniqueGroup) | |
Constructor. | |
virtual void | update (unsigned long frameNum) |
Updates the resources in the given frame. | |
virtual void | runChanged (RenderingRunType runType, RenderingRun *run) |
Called after one of he shared runs changes. | |
virtual void | runUpdated (RenderingRunType runType, RenderingRun *run) |
Called after one of he shared runs updates. | |
virtual class OgreRenderTechnique * | asOgreRenderTechnique () |
Conversion to OgreRenderTechnique. | |
ElementaryRenderable * | getParentRenderable () |
Retrieves the renderable this technique operates on. | |
Protected Attributes | |
ElementaryRenderable * | parentRenderable |
The renderable this technique operates on. | |
TechniqueGroup * | parentTechniqueGroup |
The TechniqueGroup this RenderedTechnique is attached to. | |
SharedRuns * | sharedRuns |
The SharedRuns this RenderedTechnique is attached to. |
A RenderTechnique gives a description about how to render an object, and what kind of resources are needed to do this. A RenderTechnique does not define the whole process of rendering only one property of the display, example: this object will need a cubemap or this object is going to be a caustic caster. RenderTechniques usually operate on one pass of the rendering, and bind some resources to this pass (for example it can bind a texture or cubemap tho the given pass).
RenderTechniques are always bound to a Renderable, and a SharedRuns object. The Renderable defines the object to operate on. SharedRuns is to register RenderingRuns which can be shared between other RenderTechniques (example: a cubemap can be used by other techniques too, or even more than one object can share a single cubemap).
|
Constructor.
|
|
Conversion to OgreRenderTechnique. This function is needed because of virtual inheritance. Reimplemented in OgreRenderTechnique. |
|
Called after one of he shared runs changes.
Reimplemented in CausticCasterRenderTechnique, ConvolvedCubeMapRenderTechnique, CubeMapRenderTechnique, and DistanceCubeMapRenderTechnique. |
|
Called after one of he shared runs updates.
Reimplemented in DistanceCubeMapRenderTechnique. |
|
Updates the resources in the given frame. A RenderTechnique is usually need some resources from several runs, so these runs will be updated.
Reimplemented in ConvolvedCubeMapRenderTechnique, CubeMapRenderTechnique, DistanceCubeMapRenderTechnique, OgreCausticRecieverRenderTechnique, OgreConvolvedCubeMapRenderTechnique, OgreCubeMapRenderTechnique, OgreDepthShadowRecieverRenderTechnique, OgreDistanceCubeMapRenderTechnique, and OgreSBBRenderTechnique. |