Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
ILightManager.hpp
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 nirtcpp/nirtcpp.hpp
5
6#ifndef NIRT_I_LIGHT_MANAGER_HPP_INCLUDED
7#define NIRT_I_LIGHT_MANAGER_HPP_INCLUDED
8
9#include <nirtcpp/core/engine/IReferenceCounted.hpp>
10#include <nirtcpp/core/engine/irrArray.hpp>
11#include <nirtcpp/core/engine/ISceneManager.hpp> // for E_SCENE_NODE_RENDER_PASS, could probably move that to own header?
12
13namespace nirt
14{
15namespace scene
16{
17 class ISceneNode;
18
20
30 {
31 public:
33
41 virtual void OnPreRender(core::array<ISceneNode*> & lightList) {};
42
44
45 virtual void OnPostRender(void) {};
46
48
50
52
54
56
57 virtual void OnNodePreRender(ISceneNode* node) {};
58
60
61 virtual void OnNodePostRender(ISceneNode* node) {};
62 };
63} // end namespace scene
64} // end namespace nirt
65
66#endif
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
ILightManager provides an interface for user applications to manipulate the list of lights in the sce...
Definition ILightManager.hpp:30
virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass)
Called before a render pass begins.
Definition ILightManager.hpp:49
virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass)
Called after the render pass specified in OnRenderPassPreRender() ends.
Definition ILightManager.hpp:53
virtual void OnNodePreRender(ISceneNode *node)
Called before the given scene node is rendered.
Definition ILightManager.hpp:57
virtual void OnPostRender(void)
Called after the last scene node is rendered.
Definition ILightManager.hpp:45
virtual void OnNodePostRender(ISceneNode *node)
Called after the the node specified in OnNodePreRender() has been rendered.
Definition ILightManager.hpp:61
virtual void OnPreRender(core::array< ISceneNode * > &lightList)
Called after the scene's light list has been built, but before rendering has begun.
Definition ILightManager.hpp:41
Scene node interface.
Definition ISceneNode.hpp:43
E_SCENE_NODE_RENDER_PASS
Enumeration for render passes.
Definition ISceneManager.hpp:59
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print