![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Implementation of CompositorPass This implementation will perform main rendering, selecting several parameters (like viewport's visibility mask, first and last render queue to render) it will render the main scene. More...
#include <OgreCompositorPassScene.h>
Implementation of CompositorPass This implementation will perform main rendering, selecting several parameters (like viewport's visibility mask, first and last render queue to render) it will render the main scene.
into the specified RenderTarget
Ogre::CompositorPassScene::CompositorPassScene | ( | const CompositorPassSceneDef * | definition, |
Camera * | defaultCamera, | ||
const CompositorChannel & | target, | ||
CompositorNode * | parentNode | ||
) |
Constructor.
definition | |
defaultCamera | Used when the definition's camera name is empty |
workspace | Workspace that ultimately owns us |
target | The RenderTarget we're supposed to draw to. Can be RenderWindow, RenderTexture, MRT, etc |
Ogre::CompositorPassScene::~CompositorPassScene | ( | ) |
|
virtual |
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resource transition if we need to.
boundUavs | [in/out] An array of the currently bound UAVs by slot. The derived class CompositorPassUav will write to them as part of the emulation. The base implementation reads from this value. |
uavsAccess | [in/out] A map with the last access flag used for each RenderTarget. We need it to identify RaR situations, which are the only ones that don't need a barrier (and also WaW hazards, when explicitly allowed by the pass). Note: We will set the access to ResourceAccess::Undefined to signal other passes that the UAV hazard already has a barrier (just in case there was one already created). |
resourcesLayout | [in/out] A map with the current layout of every RenderTarget used so far. Needed to identify if we need to change the resource layout to an UAV. |
Reimplemented from Ogre::CompositorPass.
|
inherited |
Implements Ogre::CompositorPass.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
@See CompositorNode::_notifyCleared
Reimplemented from Ogre::CompositorPass.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
@See CompositorNode::notifyRecreated
Reimplemented in Ogre::CompositorPassMipmap.
|
virtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info