Irrlicht 3D Engine
ILightManager.h
Go to the documentation of this file.
1 // Written by Colin MacDonald - all rights assigned to Nikolaus Gebhardt
2 // Copyright (C) 2008-2012 Nikolaus Gebhardt
3 // This file is part of the "Irrlicht Engine".
4 // For conditions of distribution and use, see copyright notice in irrlicht.h
5 
6 #ifndef __I_LIGHT_MANAGER_H_INCLUDED__
7 #define __I_LIGHT_MANAGER_H_INCLUDED__
8 
9 #include "IReferenceCounted.h"
10 #include "irrArray.h"
11 
12 namespace irr
13 {
14 namespace scene
15 {
16  class ILightSceneNode;
17 
19 
26  {
27  public:
29 
37  virtual void OnPreRender(core::array<ISceneNode*> & lightList) = 0;
38 
40 
41  virtual void OnPostRender(void) = 0;
42 
44 
45  virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0;
46 
48 
49  virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0;
50 
52 
53  virtual void OnNodePreRender(ISceneNode* node) = 0;
54 
56 
57  virtual void OnNodePostRender(ISceneNode* node) = 0;
58  };
59 } // end namespace scene
60 } // end namespace irr
61 
62 #endif
virtual void OnNodePreRender(ISceneNode *node)=0
Called before the given scene node is rendered.
Scene node interface.
Definition: ISceneNode.h:40
virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass)=0
Called after the render pass specified in OnRenderPassPreRender() ends.
virtual void OnNodePostRender(ISceneNode *node)=0
Called after the the node specified in OnNodePreRender() has been rendered.
ILightManager provides an interface for user applications to manipulate the list of lights in the sce...
Definition: ILightManager.h:25
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
virtual void OnPreRender(core::array< ISceneNode * > &lightList)=0
Called after the scene's light list has been built, but before rendering has begun.
virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass)=0
Called before a render pass begins.
virtual void OnPostRender(void)=0
Called after the last scene node is rendered.
Self reallocating template array (like stl vector) with additional features.
Definition: irrArray.h:22
E_SCENE_NODE_RENDER_PASS
Enumeration for render passes.
Definition: ISceneManager.h:56
Base class of most objects of the Irrlicht Engine.