SO3Engine
include
SO3Material
SO3CompositorPass.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
29
#ifndef __SO3_COMPOSITOR_PASS_H__
30
#define __SO3_COMPOSITOR_PASS_H__
31
32
#include "
SCOLBasic/SO3Prerequisites.h
"
33
#include "
SCOLBasic/SO3DataScol.h
"
34
35
namespace
SO3
36
{
37
38
enum
SCompositorPassType
39
{
40
SO3_COMPOSITOR_PASS_CLEAR
= Ogre::CompositionPass::PT_CLEAR,
// Clear target to one colour
41
SO3_COMPOSITOR_PASS_STENCIL
= Ogre::CompositionPass::PT_STENCIL,
// Set stencil operation
42
SO3_COMPOSITOR_PASS_RENDERSCENE
= Ogre::CompositionPass::PT_RENDERSCENE,
// Render the scene or part of it
43
SO3_COMPOSITOR_PASS_RENDERQUAD
= Ogre::CompositionPass::PT_RENDERQUAD,
// Render a full screen quad
44
SO3_COMPOSITOR_PASS_RENDER_CUSTOM
= Ogre::CompositionPass::PT_RENDERCUSTOM
// Render a custom sequence
45
};
46
47
class
_SO3_Export
SCompositorPass
:
public
SData
48
{
49
public
:
50
protected
:
51
private
:
52
SCompositorTarget
* parentTarget;
53
Ogre::CompositionPass* ogreCompositorPass;
54
55
public
:
58
SCompositorPass
(
SCompositorTarget
* target, Ogre::CompositionPass* ogrePassRef,
int
passId);
59
62
~SCompositorPass
();
63
66
SCompositorPassType
GetType()
const
;
67
70
SMaterial
* GetMaterial()
const
;
71
protected
:
72
private
:
76
SCompositorPass
();
77
};
78
79
}
80
81
#endif
SO3DataScol.h
SO3Prerequisites.h
librairies include
SO3::SCompositorPass
Definition
SO3CompositorPass.h:48
SO3::SCompositorTarget
Definition
SO3CompositorTarget.h:39
SO3::SData
Definition
SO3DataScol.h:41
SO3::SMaterial
Definition
SO3Material.h:43
SO3
Definition
SO3DataScol.h:38
SO3::SCompositorPassType
SCompositorPassType
Definition
SO3CompositorPass.h:39
SO3::SO3_COMPOSITOR_PASS_STENCIL
@ SO3_COMPOSITOR_PASS_STENCIL
Definition
SO3CompositorPass.h:41
SO3::SO3_COMPOSITOR_PASS_CLEAR
@ SO3_COMPOSITOR_PASS_CLEAR
Definition
SO3CompositorPass.h:40
SO3::SO3_COMPOSITOR_PASS_RENDERQUAD
@ SO3_COMPOSITOR_PASS_RENDERQUAD
Definition
SO3CompositorPass.h:43
SO3::SO3_COMPOSITOR_PASS_RENDERSCENE
@ SO3_COMPOSITOR_PASS_RENDERSCENE
Definition
SO3CompositorPass.h:42
SO3::SO3_COMPOSITOR_PASS_RENDER_CUSTOM
@ SO3_COMPOSITOR_PASS_RENDER_CUSTOM
Definition
SO3CompositorPass.h:44
Generated by
1.9.8