Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
More...
#include <OgreCompositionTargetPass.h>
Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
◆ Passes
◆ PassIterator
◆ InputMode
Input mode of a TargetPass.
Enumerator |
---|
IM_NONE | |
IM_PREVIOUS | No input.
Output of previous Composition in chain
|
◆ CompositionTargetPass()
◆ ~CompositionTargetPass()
Ogre::CompositionTargetPass::~CompositionTargetPass |
( |
| ) |
|
◆ setInputMode()
void Ogre::CompositionTargetPass::setInputMode |
( |
InputMode |
mode | ) |
|
Set input mode of this TargetPass.
◆ getInputMode()
InputMode Ogre::CompositionTargetPass::getInputMode |
( |
| ) |
const |
◆ setOutputName()
void Ogre::CompositionTargetPass::setOutputName |
( |
const String & |
out | ) |
|
Set output local texture name.
◆ getOutputName()
const String& Ogre::CompositionTargetPass::getOutputName |
( |
| ) |
const |
Get output local texture name.
◆ setOutputSlice()
void Ogre::CompositionTargetPass::setOutputSlice |
( |
int |
slice | ) |
|
|
inline |
sets the slice of output texture
◆ getOutputSlice()
int Ogre::CompositionTargetPass::getOutputSlice |
( |
| ) |
const |
|
inline |
◆ setOnlyInitial()
void Ogre::CompositionTargetPass::setOnlyInitial |
( |
bool |
value | ) |
|
Set "only initial" flag.
This makes that this target pass is only executed initially after the effect has been enabled.
◆ getOnlyInitial()
bool Ogre::CompositionTargetPass::getOnlyInitial |
( |
| ) |
|
◆ setVisibilityMask()
void Ogre::CompositionTargetPass::setVisibilityMask |
( |
uint32 |
mask | ) |
|
Set the scene visibility mask used by this pass.
◆ getVisibilityMask()
uint32 Ogre::CompositionTargetPass::getVisibilityMask |
( |
| ) |
|
Get the scene visibility mask used by this pass.
◆ setMaterialScheme()
void Ogre::CompositionTargetPass::setMaterialScheme |
( |
const String & |
schemeName | ) |
|
Set the material scheme used by this target pass.
- See also
- Technique::setScheme.
◆ getMaterialScheme()
const String& Ogre::CompositionTargetPass::getMaterialScheme |
( |
void |
| ) |
const |
Get the material scheme used by this target pass.
- See also
- Technique::setScheme.
◆ setShadowsEnabled()
void Ogre::CompositionTargetPass::setShadowsEnabled |
( |
bool |
enabled | ) |
|
Set whether shadows are enabled in this target pass.
◆ getShadowsEnabled()
bool Ogre::CompositionTargetPass::getShadowsEnabled |
( |
void |
| ) |
const |
Get whether shadows are enabled in this target pass.
◆ setLodBias()
void Ogre::CompositionTargetPass::setLodBias |
( |
float |
bias | ) |
|
Set the scene LOD bias used by this pass.
The default is 1.0, everything below that means lower quality, higher means higher quality.
◆ getLodBias()
float Ogre::CompositionTargetPass::getLodBias |
( |
| ) |
|
Get the scene LOD bias used by this pass.
◆ createPass()
Create a new pass, and return a pointer to it.
◆ removePass()
void Ogre::CompositionTargetPass::removePass |
( |
size_t |
idx | ) |
|
Remove a pass.
It will also be destroyed.
◆ getPass()
◆ getNumPasses()
size_t Ogre::CompositionTargetPass::getNumPasses |
( |
| ) |
const |
|
inline |
Get the number of passes.
◆ getPasses()
const Passes& Ogre::CompositionTargetPass::getPasses |
( |
| ) |
const |
|
inline |
Get the Passes in this TargetPass.
◆ removeAllPasses()
void Ogre::CompositionTargetPass::removeAllPasses |
( |
| ) |
|
◆ getPassIterator()
PassIterator Ogre::CompositionTargetPass::getPassIterator |
( |
void |
| ) |
|
◆ getParent()
◆ _isSupported()
bool Ogre::CompositionTargetPass::_isSupported |
( |
void |
| ) |
|
Determine if this target pass is supported on the current rendering device.
The documentation for this class was generated from the following file: