diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8/include/ILightManager.h | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/ILightManager.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libraries/irrlicht-1.8/include/ILightManager.h b/libraries/irrlicht-1.8/include/ILightManager.h deleted file mode 100644 index 35fb9cb..0000000 --- a/libraries/irrlicht-1.8/include/ILightManager.h +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
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 | |||
18 | //! ILightManager provides an interface for user applications to manipulate the list of lights in the scene. | ||
19 | /** The light list can be trimmed or re-ordered before device/ hardware | ||
20 | lights are created, and/or individual lights can be switched on and off | ||
21 | before or after each scene node is rendered. It is assumed that the | ||
22 | ILightManager implementation will store any data that it wishes to | ||
23 | retain, i.e. the ISceneManager to which it is assigned, the lightList, | ||
24 | the current render pass, and the current scene node. */ | ||
25 | class ILightManager : public IReferenceCounted | ||
26 | { | ||
27 | public: | ||
28 | //! Called after the scene's light list has been built, but before rendering has begun. | ||
29 | /** As actual device/hardware lights are not created until the | ||
30 | ESNRP_LIGHT render pass, this provides an opportunity for the | ||
31 | light manager to trim or re-order the light list, before any | ||
32 | device/hardware lights have actually been created. | ||
33 | \param lightList: the Scene Manager's light list, which | ||
34 | the light manager may modify. This reference will remain valid | ||
35 | until OnPostRender(). | ||
36 | */ | ||
37 | virtual void OnPreRender(core::array<ISceneNode*> & lightList) = 0; | ||
38 | |||
39 | //! Called after the last scene node is rendered. | ||
40 | /** After this call returns, the lightList passed to OnPreRender() becomes invalid. */ | ||
41 | virtual void OnPostRender(void) = 0; | ||
42 | |||
43 | //! Called before a render pass begins | ||
44 | /** \param renderPass: the render pass that's about to begin */ | ||
45 | virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0; | ||
46 | |||
47 | //! Called after the render pass specified in OnRenderPassPreRender() ends | ||
48 | /** \param[in] renderPass: the render pass that has finished */ | ||
49 | virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0; | ||
50 | |||
51 | //! Called before the given scene node is rendered | ||
52 | /** \param[in] node: the scene node that's about to be rendered */ | ||
53 | virtual void OnNodePreRender(ISceneNode* node) = 0; | ||
54 | |||
55 | //! Called after the the node specified in OnNodePreRender() has been rendered | ||
56 | /** \param[in] node: the scene node that has just been rendered */ | ||
57 | virtual void OnNodePostRender(ISceneNode* node) = 0; | ||
58 | }; | ||
59 | } // end namespace scene | ||
60 | } // end namespace irr | ||
61 | |||
62 | #endif | ||