⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
SO3Engine
All Projects
Scol
»
SO3Engine
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Calendar
News
Documents
Wiki
Files
Repository
API Documentation
SO3Engine
include
SO3Renderer
DeferredShading
SO3DeferredCompositor.h
Go to the documentation of this file.
1
/*
2
-----------------------------------------------------------------------------
3
This source file is part of OpenSpace3D
4
For the latest info, see http://www.openspace3d.com
5
6
Copyright (c) 2012 I-maginer
7
8
This program is free software; you can redistribute it and/or modify it under
9
the terms of the GNU Lesser General Public License as published by the Free Software
10
Foundation; either version 2 of the License, or (at your option) any later
11
version.
12
13
This program is distributed in the hope that it will be useful, but WITHOUT
14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16
17
You should have received a copy of the GNU Lesser General Public License along with
18
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
20
http://www.gnu.org/copyleft/lesser.txt
21
22
-----------------------------------------------------------------------------
23
*/
24
25
#ifndef __SO3_DEFERRED_SHADING_COMPOSITOR_H__
26
#define __SO3_DEFERRED_SHADING_COMPOSITOR_H__
27
28
#include "
SCOLBasic/SO3DataScol.h
"
29
#include "
SO3GBuffer.h
"
30
#include <OgreStringConverter.h>
31
#include <OgreCompositor.h>
32
33
namespace
SO3
34
{
35
38
class
_SO3_Export
SDeferredCompositor
:
public
SData
39
{
40
public
:
41
protected
:
42
private
:
43
typedef
std::map<SGBuffer*, Ogre::CompositorPtr> CompositorMap;
44
CompositorMap compositorMap;
45
46
public
:
49
Ogre::CompositorPtr GetCompositor(
SGBuffer
* gBuffer);
50
protected
:
54
SDeferredCompositor
(std::string compositorName);
55
private
:
59
SDeferredCompositor
();
60
64
virtual
Ogre::CompositorPtr GenerateCompositor(
SGBuffer
* gBuffer)=0;
65
};
66
67
}
68
69
#endif
SO3DataScol.h
SO3GBuffer.h
SO3::SData
Definition
SO3DataScol.h:41
SO3::SDeferredCompositor
Definition
SO3DeferredCompositor.h:39
SO3::SGBuffer
Definition
SO3GBuffer.h:37
SO3
Definition
SO3DataScol.h:38
Generated by
1.9.8
Loading...