OGRE  1.9.0
OgreCompositionTargetPass.h
Go to the documentation of this file.
1/*
2-----------------------------------------------------------------------------
3This source file is part of OGRE
4 (Object-oriented Graphics Rendering Engine)
5For the latest info, see http://www.ogre3d.org/
6
7Copyright (c) 2000-2014 Torus Knot Software Ltd
8
9Permission is hereby granted, free of charge, to any person obtaining a copy
10of this software and associated documentation files (the "Software"), to deal
11in the Software without restriction, including without limitation the rights
12to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13copies of the Software, and to permit persons to whom the Software is
14furnished to do so, subject to the following conditions:
15
16The above copyright notice and this permission notice shall be included in
17all copies or substantial portions of the Software.
18
19THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25THE SOFTWARE.
26-----------------------------------------------------------------------------
27*/
28#ifndef __CompositionTargetPass_H__
29#define __CompositionTargetPass_H__
30
31#include "OgrePrerequisites.h"
33#include "OgreHeaderPrefix.h"
34
35namespace Ogre {
170
173}
174
175#include "OgreHeaderSuffix.h"
176
177#endif
#define _OgreExport
Object representing one pass or operation in a composition sequence.
void setShadowsEnabled(bool enabled)
Set whether shadows are enabled in this target pass.
void removeAllPasses()
Remove all passes.
const String & getOutputName() const
Get output local texture name.
uint32 mVisibilityMask
Visibility mask for this render.
VectorIterator< Passes > PassIterator
CompositionTechnique * getParent()
Get parent object.
void removePass(size_t idx)
Remove a pass.
void setMaterialScheme(const String &schemeName)
Set the material scheme used by this target pass.
CompositionPass * createPass()
Create a new pass, and return a pointer to it.
float mLodBias
LOD bias of this render.
CompositionTechnique * mParent
Parent technique.
bool _isSupported(void)
Determine if this target pass is supported on the current rendering device.
void setVisibilityMask(uint32 mask)
Set the scene visibility mask used by this pass.
CompositionTargetPass(CompositionTechnique *parent)
const String & getMaterialScheme(void) const
Get the material scheme used by this target pass.
String mOutputName
(local) output texture
float getLodBias()
Get the scene LOD bias used by this pass.
bool mOnlyInitial
This target pass is only executed initially after the effect has been enabled.
PassIterator getPassIterator(void)
Get an iterator over the Passes in this TargetPass.
CompositionPass * getPass(size_t idx)
Get a pass.
size_t getNumPasses()
Get the number of passes.
void setOnlyInitial(bool value)
Set "only initial" flag.
uint32 getVisibilityMask()
Get the scene visibility mask used by this pass.
InputMode
Input mode of a TargetPass.
bool getOnlyInitial()
Get "only initial" flag.
String mMaterialScheme
Material scheme name.
void setInputMode(InputMode mode)
Set input mode of this TargetPass.
vector< CompositionPass * >::type Passes
void setOutputName(const String &out)
Set output local texture name.
bool getShadowsEnabled(void) const
Get whether shadows are enabled in this target pass.
InputMode getInputMode() const
Get input mode.
void setLodBias(float bias)
Set the scene LOD bias used by this pass.
Base composition technique, can be subclassed in plugins.
Concrete IteratorWrapper for nonconst access to the underlying container.
ResourceAllocatedObject CompositorInstAlloc
unsigned int uint32
_StringBase String
std::vector< T, A > type