Loading...
Searching...
No Matches
ILightManager.h
Go to the documentation of this file.
// Written by Colin MacDonald - all rights assigned to Nikolaus Gebhardt
// Copyright (C) 2008-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_LIGHT_MANAGER_H_INCLUDED__
#define __I_LIGHT_MANAGER_H_INCLUDED__
#include "IReferenceCounted.h"
#include "irrArray.h"
namespace irr
{
namespace scene
{
class ILightSceneNode;
class ILightManager : public IReferenceCounted
{
public:
virtual void OnPreRender(core::array<ISceneNode*> & lightList) = 0;
virtual void OnPostRender(void) = 0;
virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0;
virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass) = 0;
virtual void OnNodePreRender(ISceneNode* node) = 0;
virtual void OnNodePostRender(ISceneNode* node) = 0;
};
} // end namespace scene
} // end namespace irr
#endif
IReferenceCounted.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::core::array
Self reallocating template array (like stl vector) with additional features.
Definition irrArray.h:23
irr::scene::ILightManager
ILightManager provides an interface for user applications to manipulate the list of lights in the sce...
Definition ILightManager.h:26
irr::scene::ILightManager::OnPreRender
virtual void OnPreRender(core::array< ISceneNode * > &lightList)=0
Called after the scene's light list has been built, but before rendering has begun.
irr::scene::ILightManager::OnRenderPassPostRender
virtual void OnRenderPassPostRender(E_SCENE_NODE_RENDER_PASS renderPass)=0
Called after the render pass specified in OnRenderPassPreRender() ends.
irr::scene::ILightManager::OnNodePreRender
virtual void OnNodePreRender(ISceneNode *node)=0
Called before the given scene node is rendered.
irr::scene::ILightManager::OnRenderPassPreRender
virtual void OnRenderPassPreRender(E_SCENE_NODE_RENDER_PASS renderPass)=0
Called before a render pass begins.
irr::scene::ILightManager::OnNodePostRender
virtual void OnNodePostRender(ISceneNode *node)=0
Called after the the node specified in OnNodePreRender() has been rendered.
irr::scene::ILightManager::OnPostRender
virtual void OnPostRender(void)=0
Called after the last scene node is rendered.
irr::scene::ILightSceneNode
Scene node which is a dynamic light.
Definition ILightSceneNode.h:23
irr::scene::ISceneNode
Scene node interface.
Definition ISceneNode.h:41
irrArray.h
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::E_SCENE_NODE_RENDER_PASS
E_SCENE_NODE_RENDER_PASS
Enumeration for render passes.
Definition ISceneManager.h:56
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0