#include <OgreCompositorPassDef.h>
◆ CompositorTargetDef()
◆ ~CompositorTargetDef()
Ogre::CompositorTargetDef::~CompositorTargetDef |
( |
| ) |
|
◆ addPass()
◆ getCompositorPasses()
◆ getCompositorPassesNonConst()
See getNodeDefinition().
Returns a non-const pointer. Use this only if you know what you're doing. Modifying a NodeDef while it's being used by CompositorNode instances is undefined. It's safe if you're sure it's not being used.
◆ getParentNodeDef()
◆ getRenderTargetName()
IdString Ogre::CompositorTargetDef::getRenderTargetName |
( |
| ) |
const |
|
inline |
◆ getRenderTargetNameStr()
String Ogre::CompositorTargetDef::getRenderTargetNameStr |
( |
| ) |
const |
|
inline |
◆ getRtIndex()
uint32 Ogre::CompositorTargetDef::getRtIndex |
( |
| ) |
const |
|
inline |
◆ getShadowMapSupportedLightTypes()
uint8 Ogre::CompositorTargetDef::getShadowMapSupportedLightTypes |
( |
| ) |
const |
|
inline |
◆ getTargetLevelBarrier()
bool Ogre::CompositorTargetDef::getTargetLevelBarrier |
( |
| ) |
const |
|
inline |
◆ getTargetLevelBarrierDef()
◆ setNumPasses()
void Ogre::CompositorTargetDef::setNumPasses |
( |
size_t |
numPasses | ) |
|
|
inline |
Reserves enough memory for all passes (efficient allocation)
- Parameters
-
numPasses | The number of passes expected to contain. |
◆ setShadowMapSupportedLightTypes()
void Ogre::CompositorTargetDef::setShadowMapSupportedLightTypes |
( |
uint8 |
types | ) |
|
|
inline |
◆ setTargetLevelBarrier()
void Ogre::CompositorTargetDef::setTargetLevelBarrier |
( |
bool |
bBarrier | ) |
|
When enabled, we will gather all passes contained in this target def and issue one barrier for all of them; instead of having (potentially, worst case) one barrier for every pass.
This is much more efficient, but it can't always be done because we assume subsequent passes will only change the same resource once (or multiple times to the same destination layout).
This setting is of particular importance on mobile.
- Parameters
-
The documentation for this class was generated from the following file: