#include <RenderingRun.h>
Inheritance diagram for RenderingRun:
A run typically - but not necessarily oe exclusively - consists of a series of rendering passes derived from ManagedOgreRenderTexturePass. Instances of RenderingRun-derived objects are typically stored with entities, or globally in the IlluminationModule class. A RenderingRun stores the result of the computation (in a PreComputingRun subclass), or renders to the frame buffer (in a FinalRun subclass). Intermediate computation data should not be stored with the instances. When allocating and freeing the resources associated with temporary data are costly (typically rendertextures), then they should be declared static and shared between the instances. Thus, a typical RenderingRun class will contain a number of static ManagedOgreRenderTexturePass instances and a few ManagedOgreRenderTexturePass members containing persistent computation results.